From a73af81a0517e1bbb1842a6b1e9caa85b5670f8d Mon Sep 17 00:00:00 2001 From: Gudmundur Bjarni Olafsson Date: Mon, 23 Sep 2024 13:23:24 +0200 Subject: [PATCH] Fix a typo Signed-off-by: Gudmundur Bjarni Olafsson --- plugins/main/tap/tap_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,