[WIP]Fix CNI plugin to care DNS changes in latest CNI #1171
Annotations
10 errors and 4 warnings
plugins/ipam/host-local/dns.go#L1
: # github.com/containernetworking/plugins/plugins/ipam/host-local [github.com/containernetworking/plugins/plugins/ipam/host-local.test]
|
plugins/ipam/host-local/main.go#L70
cannot use dns (variable of type *"github.com/containernetworking/cni/pkg/types".DNS) as "github.com/containernetworking/cni/pkg/types".DNS value in assignment (typecheck)
|
plugins/ipam/static/main.go#L1
: # github.com/containernetworking/plugins/plugins/ipam/static [github.com/containernetworking/plugins/plugins/ipam/static.test]
|
plugins/ipam/static/main.go#L266
cannot use &ipamConf.DNS (value of type *"github.com/containernetworking/cni/pkg/types".DNS) as "github.com/containernetworking/cni/pkg/types".DNS value in struct literal (typecheck)
|
plugins/main/bridge/bridge.go#L1
: # github.com/containernetworking/plugins/plugins/main/bridge [github.com/containernetworking/plugins/plugins/main/bridge.test]
|
plugins/main/bridge/bridge.go#L737
invalid operation: n.DNS != nil (mismatched types "github.com/containernetworking/cni/pkg/types".DNS and untyped nil) (typecheck)
|
plugins/main/ptp/ptp.go#L1
: # github.com/containernetworking/plugins/plugins/main/ptp [github.com/containernetworking/plugins/plugins/main/ptp.test]
|
plugins/main/ptp/ptp.go#L244
invalid operation: conf.DNS != nil (mismatched types "github.com/containernetworking/cni/pkg/types".DNS and untyped nil) (typecheck)
|
pkg/ns/ns_linux_test.go#L185
ginkgo-linter: use Equal with different types: Comparing uint64 with int; either change the expected value type if possible, or use the BeEquivalentTo() matcher, instead of Equal() (ginkgolinter)
|
|
pkg/utils/sysctl/sysctl_suite_test.go#L20
dot-imports: should not use dot imports (revive)
|
pkg/utils/sysctl/sysctl_suite_test.go#L21
dot-imports: should not use dot imports (revive)
|
pkg/utils/sysctl/sysctl_linux_test.go#L23
dot-imports: should not use dot imports (revive)
|
|
The logs for this run have expired and are no longer available.
Loading