Add golangci-lint config and CI step #56
Annotations
10 errors and 2 warnings
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L520
Error return value of `pool.Allocate` is not checked (errcheck)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L521
Error return value of `pool.Allocate` is not checked (errcheck)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L522
Error return value of `pool.Allocate` is not checked (errcheck)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L300
string `VrfV16` has 4 occurrences, make it a constant (goconst)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L60
string `Vlan2000` has 14 occurrences, make it a constant (goconst)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L215
string `VrfV15` has 3 occurrences, make it a constant (goconst)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L81
return with no blank line before (nlreturn)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L132
return with no blank line before (nlreturn)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L142
return with no blank line before (nlreturn)
|
Go Lint:
pkg/util/netlinkutil/netlink.go#L26
error returned from external package is unwrapped: sig: func github.com/vishvananda/netlink.RouteGet(destination net.IP) ([]github.com/vishvananda/netlink.Route, error) (wrapcheck)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L798
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
Go Lint:
pkg/dhcpd/dhcphandlers_test.go#L817
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading