Merge pull request #14 from RocketChat/username-prefix #54
Annotations
10 errors
lint:
controllers/mongodbaccessrequest_controller.go#L463
Error return value of `userClient.Disconnect` is not checked (errcheck)
|
lint:
controllers/mongodbcluster_controller.go#L147
Error return value of `r.updateAccessRequests` is not checked (errcheck)
|
lint:
controllers/mongodbcluster_controller.go#L302
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/env/env.go#L19
return statements should not be cuddled if block has more than two lines (wsl)
|
lint:
controllers/mongodbaccessrequest_controller.go#L111
return statements should not be cuddled if block has more than two lines (wsl)
|
lint:
controllers/mongodbaccessrequest_controller.go#L124
return statements should not be cuddled if block has more than two lines (wsl)
|
lint:
controllers/mongodbaccessrequest_controller.go#L311
if statements that check an error must be cuddled with the statement that assigned the error (wsl)
|
lint:
controllers/mongodbaccessrequest_controller.go#L320
if statements should only be cuddled with assignments (wsl)
|
lint:
controllers/mongodbaccessrequest_controller.go#L337
if statements that check an error must be cuddled with the statement that assigned the error (wsl)
|