Add ingress feature to controller #54
Annotations
9 errors
|
Run on Ubuntu:
internal/controller/nbroutingpeer_controller.go#L286
Error return value of `(*github.com/netbirdio/netbird/management/client/rest.NetworkRoutersAPI).Update` is not checked (errcheck)
|
|
Run on Ubuntu:
internal/controller/nbroutingpeer_controller.go#L505
cyclomatic complexity 38 of func `(*NBRoutingPeerReconciler).handleDelete` is high (> 30) (gocyclo)
|
|
Run on Ubuntu:
internal/controller/nbgroup_controller.go#L50
ineffectual assignment to err (ineffassign)
|
|
Run on Ubuntu:
internal/controller/nbresource_controller.go#L107
ineffectual assignment to err (ineffassign)
|
|
Run on Ubuntu:
internal/controller/service_controller.go#L104
ineffectual assignment to networkName (ineffassign)
|
|
Run on Ubuntu:
cmd/main.go#L79
The line is 134 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
Run on Ubuntu:
cmd/main.go#L80
The line is 167 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
Run on Ubuntu:
internal/controller/nbroutingpeer_controller.go#L604
SA4006: this value of `err` is never used (staticcheck)
|
|
Run on Ubuntu
issues found
|