DockerCLI/cli/command/image
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
..
build Remove testutil 2018-03-06 14:38:35 -05:00
testdata Update some assertions. 2018-03-05 17:15:24 -05:00
build.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
build_session.go Add nakedret linter. 2017-10-12 11:48:51 -04:00
build_test.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
client_test.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
cmd.go Move credential getting functions to the ConfigFile. 2017-06-27 13:46:47 +02:00
history.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
history_test.go Refactor build tests to re-use more code and not require root 2018-03-26 14:27:52 -04:00
import.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
import_test.go Convert assert.Check with 2018-03-06 15:43:53 -05:00
inspect.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
inspect_test.go Convert to assert.NilError 2018-03-06 15:27:34 -05:00
list.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
list_test.go Convert to assert.NilError 2018-03-06 15:27:34 -05:00
load.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
load_test.go Convert to assert.NilError 2018-03-06 15:27:34 -05:00
prune.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
prune_test.go Convert to assert.NilError 2018-03-06 15:27:34 -05:00
pull.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
pull_test.go Add more content trust tests 2018-03-19 10:02:40 +01:00
push.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
push_test.go Refactor content_trust cli/flags handling 2018-03-08 15:00:43 -05:00
remove.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
remove_test.go Convert assert.Check with 2018-03-06 15:43:53 -05:00
save.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
save_test.go Convert assert.Check with 2018-03-06 15:43:53 -05:00
tag.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
tag_test.go Convert assert.Check with 2018-03-06 15:43:53 -05:00
trust.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
trust_test.go vendor: update moby to ed7b6428 2018-03-27 14:11:29 -07:00