Skip to content

Fix cluster role binding #60

Fix cluster role binding

Fix cluster role binding #60

Triggered via push September 11, 2023 23:31
Status Failure
Total duration 1m 15s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: api/v1alpha1/mongodbaccessrequest_types.go#L56
json(camel): got 'metadata' want 'objectMeta' (tagliatelle)
lint: api/v1alpha1/mongodbaccessrequest_types.go#L67
json(camel): got 'metadata' want 'listMeta' (tagliatelle)
lint: api/v1alpha1/mongodbcluster_types.go#L69
json(camel): got 'metadata' want 'objectMeta' (tagliatelle)
lint: api/v1alpha1/mongodbcluster_types.go#L80
json(camel): got 'metadata' want 'listMeta' (tagliatelle)
lint: controllers/env/env.go#L19
return statements should not be cuddled if block has more than two lines (wsl)
lint: controllers/mongodbaccessrequest_controller.go#L463
Error return value of `userClient.Disconnect` is not checked (errcheck)
lint: controllers/mongodbcluster_controller.go#L168
Error return value of `r.updateAccessRequests` is not checked (errcheck)
lint: controllers/mongodbcluster_controller.go#L352
Error return value of `(sigs.k8s.io/controller-runtime/pkg/client.StatusWriter).Update` is not checked (errcheck)
lint: controllers/mongodbaccessrequest_controller.go#L73
cyclomatic complexity 23 of func `(*MongoDBAccessRequestReconciler).Reconcile` is high (> 20) (gocyclo)
lint: controllers/mongodbaccessrequest_controller.go#L111
return statements should not be cuddled if block has more than two lines (wsl)