Fix for windows too

This commit is contained in:
Michael Cambria 2018-11-05 16:52:12 -05:00
parent ddbf22f7f9
commit 6f3332e9fe

View File

@ -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)
}