Skip to content

Commit f15dae1

Browse files
committed
cni/cmd/tc-redirect-tap: fix dropped test error
Signed-off-by: Lars Lehtonen <[email protected]>
1 parent 78ca0fa commit f15dae1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cni/cmd/tc-redirect-tap/main_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ func TestNewPlugin(t *testing.T) {
365365
},
366366
}
367367
rawPrevResultBytes, err := json.Marshal(netConf)
368+
require.NoError(t, err, "failed to marshal JSON")
368369
testArgs := skel.CmdArgs{
369370
ContainerID: "continer-id",
370371
Netns: nspath,

0 commit comments

Comments
 (0)