Skip to content

Support reservation of IpRanges #313

Support reservation of IpRanges

Support reservation of IpRanges #313

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

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors
run: internal/controller/iprange_controller.go#L323
if-return: redundant if ...; err != nil check, just return error instead. (revive)
run: internal/controller/iprange_controller.go#L187
`(*IpRangeReconciler).generateNetboxIpRangeModelFromIpRangeSpec` - `ctx` is unused (unparam)
run: internal/controller/iprange_controller.go#L330
(*IpRangeReconciler).removeFinalizer - result 0 (sigs.k8s.io/controller-runtime/pkg/reconcile.Result) is always nil (unparam)
run: internal/controller/suite_test.go#L33
ST1019: package "github.com/netbox-community/netbox-operator/api/v1" is being imported more than once (stylecheck)
run: internal/controller/suite_test.go#L38
ST1019(related information): other import of "github.com/netbox-community/netbox-operator/api/v1" (stylecheck)
run
issues found