diff --git a/libnetwork/cluster/provider.go b/libnetwork/cluster/provider.go index 491ccfd4b8..0259eb7005 100644 --- a/libnetwork/cluster/provider.go +++ b/libnetwork/cluster/provider.go @@ -1,8 +1,9 @@ package cluster import ( + "context" + "github.com/docker/docker/api/types/network" - "golang.org/x/net/context" ) const ( diff --git a/libnetwork/cmd/dnet/dnet.go b/libnetwork/cmd/dnet/dnet.go index ff5c9df5f3..cccc2c72c8 100644 --- a/libnetwork/cmd/dnet/dnet.go +++ b/libnetwork/cmd/dnet/dnet.go @@ -2,6 +2,7 @@ package main import ( "bytes" + "context" "encoding/json" "errors" "fmt" @@ -36,7 +37,6 @@ import ( "github.com/docker/libnetwork/types" "github.com/gorilla/mux" "github.com/sirupsen/logrus" - "golang.org/x/net/context" ) const (