DockerCLI/cli
Kir Kolyshkin 6f8070deb2 Switch from x/net/context to context
Since go 1.7, "context" is a standard package. Since go 1.9,
x/net/context merely provides some types aliased to those in
the standard context package.

The changes were performed by the following script:

for f in $(git ls-files \*.go | grep -v ^vendor/); do
	sed -i 's|golang.org/x/net/context|context|' $f
	goimports -w $f
	for i in 1 2; do
		awk '/^$/ {e=1; next;}
			/\t"context"$/ {e=0;}
			{if (e) {print ""; e=0}; print;}' < $f > $f.new && \
				mv $f.new $f
		goimports -w $f
	done
done

[v2: do awk/goimports fixup twice]
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2018-05-11 16:49:43 -07:00
..
command Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
compose Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
config print a big warning about cleartext passwords 2018-03-26 16:18:32 +02:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags Convert to assert.NilError 2018-03-06 15:27:34 -05:00
manifest Convert assert.Check(t, is.Error()) to assert.Error 2018-03-06 16:00:28 -05:00
registry/client Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
trust Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
winresources Add windows resources to binary. 2017-05-15 18:03:03 -04:00
cobra.go Use HasAvailableFlags instead of HasFlags for Options in help 2018-03-22 15:24:31 +01:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go Singularize / pluralize "argument(s)" in error message 2017-08-12 18:25:38 +02:00
required_test.go Post migration fixes 2018-03-05 19:41:17 -05:00
version.go Fix grammar typo in comment 2018-02-28 11:29:40 -05:00