Add PR Workflow #2
Annotations
10 errors
lint:
pkg/bpf/router_bpfel_x86.go#L125
pattern router_bpfel_x86.o: no matching files found (typecheck)
|
lint:
pkg/anycast/anycast.go#L36
`createNeighborEntry` is unused (deadcode)
|
lint:
pkg/anycast/anycast.go#L46
`isUnicastMac` is unused (deadcode)
|
lint:
api/v1alpha1/webhook_suite_test.go#L46
`cfg` is unused (deadcode)
|
lint:
pkg/anycast/anycast.go#L117
Error return value of `netlink.RouteDel` is not checked (errcheck)
|
lint:
pkg/anycast/anycast.go#L126
Error return value of `netlink.RouteAdd` is not checked (errcheck)
|
lint:
pkg/config/config.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.16: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
|
lint:
pkg/anycast/anycast.go#L52
SA1021: use net.IP.Equal to compare net.IPs, not bytes.Equal (staticcheck)
|
lint:
pkg/anycast/anycast.go#L61
SA1021: use net.IP.Equal to compare net.IPs, not bytes.Equal (staticcheck)
|
lint
issues found
|