Skip to content

Merge pull request #15 from RocketChat/reconcile_atlas_firewall #59

Merge pull request #15 from RocketChat/reconcile_atlas_firewall

Merge pull request #15 from RocketChat/reconcile_atlas_firewall #59

Triggered via push September 11, 2023 18:10
Status Failure
Total duration 2m 35s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: controllers/mongodbaccessrequest_controller.go#L463
Error return value of `userClient.Disconnect` is not checked (errcheck)
lint: controllers/mongodbcluster_controller.go#L167
Error return value of `r.updateAccessRequests` is not checked (errcheck)
lint: controllers/mongodbcluster_controller.go#L351
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)