set pinning field in CephSubvolumeGroup CR #2078
ocs-operator-ci.yaml
on: pull_request
Matrix: go test
Matrix: golangci-lint
Matrix: verify generated changes
Annotations
20 errors
golangci-lint (1.20):
pkg/deploy-manager/storagecluster.go#L375
redefines-builtin-id: redefinition of the built-in function new (revive)
|
golangci-lint (1.20):
controllers/storageconsumer/storageconsumer_controller.go#L74
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint (1.20):
metrics/internal/cache/pv.go#L216
unused-parameter: parameter 'obj' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint (1.20):
metrics/internal/cache/pv.go#L221
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint (1.20):
metrics/internal/cache/ceph-blocklist.go#L73
unused-parameter: parameter 'obj' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint (1.20):
metrics/internal/cache/ceph-blocklist.go#L77
unused-parameter: parameter 'obj' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint (1.20):
metrics/internal/cache/ceph-blocklist.go#L97
unused-parameter: parameter 'list' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint (1.20):
metrics/internal/cache/ceph-blocklist.go#L101
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint (1.20):
metrics/internal/cache/rbd-mirror.go#L276
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint (1.20):
services/provider/server/storageclassrequest.go#L28
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint (1.21):
api/v1/storageprofile_types.go#L92
sp.Name undefined (type *StorageProfile has no field or method Name) (typecheck)
|
golangci-lint (1.21):
controllers/storageclassrequest/storageclassrequest_controller.go#L366
undefined: klog (typecheck)
|
golangci-lint (1.21):
controllers/storageclassrequest/storageclassrequest_controller.go#L431
undefined: klog (typecheck)
|
golangci-lint (1.21):
controllers/storageclassrequest/storageclassrequest_controller.go#L471
undefined: klog (typecheck)
|
golangci-lint (1.21):
controllers/namespace/namespace_controller_test.go#L67
reconciler.Create undefined (type NamespaceReconciler has no field or method Create) (typecheck)
|
golangci-lint (1.21):
controllers/ocsinitialization/ocsinitialization_controller.go#L7
"strconv" imported and not used (typecheck)
|
golangci-lint (1.21):
controllers/storagecluster/placement_test.go#L176
missing type in composite literal (typecheck)
|
golangci-lint (1.21):
controllers/storagecluster/placement_test.go#L180
missing type in composite literal (typecheck)
|
golangci-lint (1.21):
controllers/storagecluster/placement_test.go#L184
missing type in composite literal (typecheck)
|
golangci-lint (1.21):
controllers/storagecluster/provider_server_test.go#L46
r.Status undefined (type *StorageClusterReconciler has no field or method Status) (typecheck)
|