fix: 修复创建服务时某个字段为空错误 #3522
lint.yml
on: pull_request
bcs-webconsole
4m 15s
bcs-monitor
5m 22s
bcs-bscp
4m 56s
bcs-cluster-manager
7m 32s
bcs-helm-manager
5m 16s
bcs-project-manager
4m 25s
bcs-user-manager
3m 40s
bcs-cluster-resources
5m 0s
bcs-task
3m 59s
Annotations
6 errors and 9 warnings
bcs-cluster-manager:
bcs-services/bcs-cluster-manager/internal/actions/autoscalingoption/delete.go#L52
(*DeleteAction).getRelativeResource - result 0 (error) is always nil (unparam)
|
bcs-cluster-manager:
bcs-services/bcs-cluster-manager/internal/actions/cluster/update.go#L428
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
bcs-cluster-manager:
bcs-services/bcs-cluster-manager/internal/actions/node/create.go#L74
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
bcs-cluster-manager:
bcs-services/bcs-cluster-manager/internal/actions/autoscalingoption/delete.go#L89
shadow: declaration of "err" shadows declaration at line 83 (govet)
|
bcs-cluster-manager:
bcs-services/bcs-cluster-manager/internal/actions/nodetemplate/update.go#L189
shadow: declaration of "err" shadows declaration at line 183 (govet)
|
bcs-cluster-manager
issues found
|
bcs-user-manager
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
bcs-task
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
bcs-webconsole
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
bcs-project-manager
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
bcs-bscp
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
bcs-cluster-resources
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
bcs-helm-manager
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
bcs-monitor
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
bcs-cluster-manager
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|