Skip to content

vsr route selector #3962

vsr route selector

vsr route selector #3962

Triggered via pull request November 18, 2024 17:06
Status Failure
Total duration 1m 49s
Artifacts

lint-format.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Format
Process completed with exit code 1.
Lint: internal/k8s/configuration_vsr_test.go#L152
cyclomatic complexity 33 of func `TestAddVirtualServerWithVirtualServerRoutesVSR` is high (> 15) (gocyclo)
Lint: internal/k8s/configuration.go#L278
S1008: should use 'return len(vsc.VirtualServerRouteSelectors) == len(vsConfig.VirtualServerRouteSelectors)' instead of 'if len(vsc.VirtualServerRouteSelectors) != len(vsConfig.VirtualServerRouteSelectors) { return false }; return true' (gosimple)
Lint
issues found