Blob Blame Raw
diff -up cri-1.11.1/pkg/store/sandbox/netns.go.namespace cri-1.11.1/pkg/store/sandbox/netns.go
--- cri-1.11.1/pkg/store/sandbox/netns.go.namespace	2018-08-09 20:37:54.000000000 +0200
+++ cri-1.11.1/pkg/store/sandbox/netns.go	2019-06-27 20:30:36.335682784 +0200
@@ -21,6 +21,7 @@ import (
 	"sync"
 
 	cnins "github.com/containernetworking/plugins/pkg/ns"
+	"github.com/containernetworking/plugins/pkg/testutils"
 	"github.com/docker/docker/pkg/symlink"
 	"github.com/pkg/errors"
 
@@ -40,7 +41,7 @@ type NetNS struct {
 
 // NewNetNS creates a network namespace for the sandbox
 func NewNetNS() (*NetNS, error) {
-	netns, err := cnins.NewNS()
+	netns, err := testutils.NewNS()
 	if err != nil {
 		return nil, errors.Wrap(err, "failed to setup network namespace")
 	}