From 6f3332e9fe856c45502025f380df2feb3c4fde48 Mon Sep 17 00:00:00 2001 From: Michael Cambria Date: Mon, 5 Nov 2018 16:52:12 -0500 Subject: [PATCH] Fix for windows too --- plugins/meta/flannel/flannel_windows.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/meta/flannel/flannel_windows.go b/plugins/meta/flannel/flannel_windows.go index d8cacffe..b482acbb 100644 --- a/plugins/meta/flannel/flannel_windows.go +++ b/plugins/meta/flannel/flannel_windows.go @@ -19,6 +19,7 @@ package main import ( + "context" "encoding/json" "fmt" "github.com/containernetworking/cni/pkg/invoke" @@ -69,5 +70,5 @@ func doCmdDel(args *skel.CmdArgs, n *NetConf) error { return fmt.Errorf("failed to parse netconf: %v", err) } - return invoke.DelegateDel(nc.Type, netconfBytes, nil) + return invoke.DelegateDel(context.TODO(), nc.Type, netconfBytes, nil) }