Skip to content

Add ingress feature to controller #50

Add ingress feature to controller

Add ingress feature to controller #50

Triggered via push February 20, 2025 20:51
Status Failure
Total duration 1m 29s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
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#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#L103
ineffectual assignment to networkName (ineffassign)
Run on Ubuntu: internal/controller/nbroutingpeer_controller.go#L604
SA4006: this value of `err` is never used (staticcheck)
Run on Ubuntu
issues found
Run on Ubuntu
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2