Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
Signed-off-by: Gudmundur Bjarni Olafsson <[email protected]>
  • Loading branch information
gudmundur authored and squeed committed Sep 30, 2024
1 parent a35be51 commit a73af81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/main/tap/tap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a73af81

Please sign in to comment.