Skip to content

minor: 调整google node manager位置 #35

minor: 调整google node manager位置

minor: 调整google node manager位置 #35

Triggered via push October 17, 2023 03:46
Status Success
Total duration 8m 46s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

24 errors
bcs-user-manager: bcs-services/bcs-user-manager/app/user-manager/v1http/permission/verify.go#L732
Error return value of `(*github.com/Tencent/bk-bcs/bcs-common/pkg/audit.Recorder).Do` is not checked (errcheck)
bcs-user-manager: bcs-services/bcs-user-manager/app/user-manager/v1http/permission/verify.go#L631
func `buildK8sOperationLog` is unused (unused)
bcs-user-manager: bcs-services/bcs-user-manager/app/user-manager/v1http/permission/verify.go#L655
func `buildAdminOperationLog` is unused (unused)
bcs-bscp: bcs-services/bcs-bscp/embed.go#L32
pattern ui/dist: no matching files found (typecheck)
bcs-bscp: bcs-services/bcs-bscp/cmd/data-service/service/template_binding_relation.go#L1036
Function 'ListTmplSetBoundNamedApps' is too long (91 > 90) (funlen)
bcs-bscp: bcs-services/bcs-bscp/pkg/criteria/constant/key.go#L59
G101: Potential hardcoded credentials (gosec)
bcs-project-manager: bcs-services/bcs-project-manager/internal/component/clustermanager/client.go#L109
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (staticcheck)
bcs-project-manager: bcs-services/bcs-project-manager/internal/component/bcscc/bcscc_test.go#L17
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
bcs-project-manager: bcs-services/bcs-project-manager/internal/config/config.go#L17
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
bcs-cluster-manager: bcs-services/bcs-cluster-manager/internal/cloudprovider/google/api/compute.go#L18
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/Tencent/bk-bcs/bcs-services/bcs-cluster-manager) (gci)
bcs-cluster-manager: bcs-services/bcs-cluster-manager/internal/cloudprovider/google/api/compute.go#L28
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/Tencent/bk-bcs/bcs-services/bcs-cluster-manager) (gci)
bcs-cluster-manager: bcs-services/bcs-cluster-manager/internal/cloudprovider/google/api/compute.go#L21
File is not `goimports`-ed with -local github.com/Tencent/bk-bcs/bcs-services/bcs-cluster-manager (goimports)