ROX-29469: New check flagging use of deprecated fields in SecuredCluster CR #2301
Annotations
7 errors and 1 warning
|
Run lint checks
Process completed with exit code 2.
|
|
Run lint checks:
pkg/templates/deprecatedfield/template.go#L111
ST1003: func determineJsonNameForField should be determineJSONNameForField (staticcheck)
|
|
Run lint checks:
pkg/crds/stackrox/v1alpha1/common_types.go#L408
ST1021: comment on exported type ObjectForStatusController should be of the form "ObjectForStatusController ..." (with optional leading article) (staticcheck)
|
|
Run lint checks:
pkg/crds/stackrox/v1alpha1/common_types.go#L378
ST1021: comment on exported type NetworkPolicies should be of the form "NetworkPolicies ..." (with optional leading article) (staticcheck)
|
|
Run lint checks:
pkg/crds/stackrox/v1alpha1/common_types.go#L8
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 lint checks:
pkg/crds/stackrox/v1alpha1/central_types.go#L21
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 lint checks:
pkg/crds/stackrox/v1alpha1/common_types.go#L401
typeDefFirst: definition of type 'GlobalNetworkSpec' should appear before its methods (gocritic)
|
|
Upload binary
No files were found with the provided path: bin. No artifacts will be uploaded.
|
Loading