API of validation #1070
Annotations
8 errors and 2 warnings
Run golangci/golangci-lint-action@v3:
controllers/validation_controller_test.go#L12
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/tsuru/rpaas-operator) (gci)
|
Run golangci/golangci-lint-action@v3:
controllers/validation_controller_test.go#L16
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/tsuru/rpaas-operator) (gci)
|
Run golangci/golangci-lint-action@v3:
controllers/skeleton.go#L13
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/tsuru/rpaas-operator) (gci)
|
Run golangci/golangci-lint-action@v3:
controllers/validation_controller.go#L103
shadow: declaration of "err" shadows declaration at line 39 (govet)
|
Run golangci/golangci-lint-action@v3:
cmd/plugin/rpaasv2/cmd/autoscale_test.go#L16
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
Run golangci/golangci-lint-action@v3:
controllers/controller.go#L41
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
Run golangci/golangci-lint-action@v3:
controllers/validation_controller.go#L17
SA1019: "k8s.io/utils/pointer" is deprecated: Use functions in k8s.io/utils/ptr instead: ptr.To to obtain a pointer, ptr.Deref to dereference a pointer, ptr.Equal to compare dereferenced pointers. (staticcheck)
|
Run golangci/golangci-lint-action@v3
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading