diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2018-04-19 15:30:59 -0700 |
---|---|---|
committer | Kir Kolyshkin <kolyshkin@gmail.com> | 2018-04-23 13:52:44 -0700 |
commit | 7d62e40f7e4f3c17d229a7687d6fcca5448de813 (patch) | |
tree | dbba5821b6d9b9f9bdd414248bfbfcff932b77cb /client/container_stats.go | |
parent | 5c233cf4315747785b27d4b0f0631d220556205f (diff) | |
download | docker-7d62e40f7e4f3c17d229a7687d6fcca5448de813.tar.gz |
Switch from x/net/context -> context
Since Go 1.7, context is a standard package. Since Go 1.9, everything
that is provided by "x/net/context" is a couple of type aliases to
types in "context".
Many vendored packages still use x/net/context, so vendor entry remains
for now.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'client/container_stats.go')
-rw-r--r-- | client/container_stats.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/container_stats.go b/client/container_stats.go index a7a2b8ec35..6ef44c7748 100644 --- a/client/container_stats.go +++ b/client/container_stats.go @@ -1,10 +1,10 @@ package client // import "github.com/docker/docker/client" import ( + "context" "net/url" "github.com/docker/docker/api/types" - "golang.org/x/net/context" ) // ContainerStats returns near realtime stats for a given container. |