summaryrefslogtreecommitdiff
path: root/libnetwork/cmd
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2018-04-24 14:44:55 -0700
committerKir Kolyshkin <kolyshkin@gmail.com>2018-04-24 14:57:04 -0700
commit0f6cb61f2ded5e66c7481aa464fc432954a417b4 (patch)
tree72dfabf745e6479a041b2e3e290eda45ccbffefe /libnetwork/cmd
parenta6ec9e673b2d2917641e67b5d029cd246bd9ea74 (diff)
downloaddocker-0f6cb61f2ded5e66c7481aa464fc432954a417b4.tar.gz
Switch from x/net/context -> context
Since Go 1.7, context is a standard package. Since about Go 1.9 time, all x/net/context provides is a few aliases to types in context, meaning "x/net/context" and "context" can be mixed freely. Some vendored packages still use x/net/context, so vendor entry remains for now. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'libnetwork/cmd')
-rw-r--r--libnetwork/cmd/dnet/dnet.go2
1 files changed, 1 insertions, 1 deletions
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 (