diff --git a/plugins/main/tap/tap_test.go b/plugins/main/tap/tap_test.go index ea0604f24..f89f066b0 100644 --- a/plugins/main/tap/tap_test.go +++ b/plugins/main/tap/tap_test.go @@ -346,7 +346,7 @@ var _ = Describe("Add, check, remove tap plugin", func() { Expect( targetNS.Do(func(ns.NetNS) error { - linkAttrs := netlink.NetLinkAttrs() + linkAttrs := netlink.NewLinkAttrs() linkAttrs.Name = bridgeName if err := netlink.LinkAdd(&netlink.Bridge{ LinkAttrs: linkAttrs,