DockerCLI/cli/command/container
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
..
testdata Add unit tests to docker container ls 2018-02-19 11:22:36 +01:00
attach.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
attach_test.go Fixed gometalinter errors on test files 2018-04-10 16:03:56 +02:00
client_test.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
cmd.go Update gometalinter 2017-10-26 12:21:02 -04:00
commit.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
cp.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
cp_test.go Fixes some unit tests to be able to run them on windows 2018-03-07 18:18:13 +01:00
create.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
create_test.go Add more content trust tests 2018-03-19 10:02:40 +01:00
diff.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
exec.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
exec_test.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
export.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
hijack.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
inspect.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
kill.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
list.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
list_test.go Convert assert.Check with 2018-03-06 15:43:53 -05:00
logs.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
logs_test.go Remove testutil 2018-03-06 14:38:35 -05:00
opts.go Fix `--label` behavior on run 2018-02-27 12:14:07 +01:00
opts_test.go Convert to assert.NilError 2018-03-06 15:27:34 -05:00
pause.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
port.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
prune.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
ps_test.go Convert assert.Check with 2018-03-06 15:43:53 -05:00
rename.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
restart.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
rm.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
run.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
run_test.go Add more content trust tests 2018-03-19 10:02:40 +01:00
start.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
stats.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
stats_helpers.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
stats_helpers_test.go Post migration fixes 2018-03-05 19:41:17 -05:00
stats_unit_test.go Add line length linter 2017-05-08 15:57:56 -04:00
stop.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
top.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
tty.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
unpause.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
update.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
utils.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
utils_test.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00
wait.go Switch from x/net/context to context 2018-05-11 16:49:43 -07:00