DockerCLI/cli/command/container
Vincent Demeester 2b17f4c8a8
Fix `--label-file` weird behavior
`--label-file` has the exact same behavior as `--env-file`, meaning any
placeholder (i.e. a simple key, no `=` sign, no value), it will get the
value from the environment variable.

For `--label-file` it should just add an empty label.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-01-29 11:08:54 -08:00
..
testdata Import docker/docker/cli 2017-04-17 17:40:59 -04:00
attach.go attach: Use ContainerWait instead of Inspect 2017-11-17 18:12:46 -08:00
attach_test.go attach: Use ContainerWait instead of Inspect 2017-11-17 18:12:46 -08:00
client_test.go container.waitExitOrRemoved(): add a test case 2018-01-16 10:16:28 -08:00
cmd.go Update gometalinter 2017-10-26 12:21:02 -04:00
commit.go Update gometalinter 2017-10-26 12:21:02 -04:00
cp.go Adding unit tests for cp 2017-10-30 18:33:28 -04:00
cp_test.go Adding unit tests for cp 2017-10-30 18:33:28 -04:00
create.go LCOW: Add `--platform=` CLI flag to pull/create/run/build 2017-10-31 09:50:43 -07:00
create_test.go LCOW: Add `--platform=` CLI flag to pull/create/run/build 2017-10-31 09:50:43 -07:00
diff.go Update gometalinter 2017-10-26 12:21:02 -04:00
exec.go Annotate worker option for 1.35 API 2017-12-06 17:24:01 +01:00
exec_test.go Reduce complexity in cli/command/container 2017-08-29 19:25:50 -04:00
export.go Update gometalinter 2017-10-26 12:21:02 -04:00
hijack.go Update gometalinter 2017-09-26 12:33:35 -04:00
inspect.go Update gometalinter 2017-10-26 12:21:02 -04:00
kill.go Update gometalinter 2017-10-26 12:21:02 -04:00
list.go Update gometalinter 2017-10-26 12:21:02 -04:00
logs.go Add new CLI option for --until 2017-11-10 12:38:08 +01:00
logs_test.go Add docs 2017-11-14 18:04:10 +01:00
opts.go Fix `--label-file` weird behavior 2018-01-29 11:08:54 -08:00
opts_test.go Update code for upstream cobra 2017-10-25 14:49:26 -04:00
pause.go Update gometalinter 2017-10-26 12:21:02 -04:00
port.go Update gometalinter 2017-10-26 12:21:02 -04:00
prune.go Update code for upstream cobra 2017-10-25 14:49:26 -04:00
ps_test.go Update cli imports to using local package 2017-05-15 14:45:19 +02:00
rename.go Update gometalinter 2017-10-26 12:21:02 -04:00
restart.go Update gometalinter 2017-10-26 12:21:02 -04:00
rm.go Update gometalinter 2017-10-26 12:21:02 -04:00
run.go LCOW: Add `--platform=` CLI flag to pull/create/run/build 2017-10-31 09:50:43 -07:00
start.go Update gometalinter 2017-10-26 12:21:02 -04:00
stats.go Update gometalinter 2017-10-26 12:21:02 -04:00
stats_helpers.go Add nakedret linter. 2017-10-12 11:48:51 -04:00
stats_helpers_test.go Fix float64 comparison in stats_helpers_test.go 2017-05-16 02:13:00 +00:00
stats_unit_test.go Add line length linter 2017-05-08 15:57:56 -04:00
stop.go Update gometalinter 2017-10-26 12:21:02 -04:00
top.go Update gometalinter 2017-10-26 12:21:02 -04:00
tty.go updated vendoring 2017-09-01 19:41:06 -04:00
unpause.go Update gometalinter 2017-10-26 12:21:02 -04:00
update.go Update gometalinter 2017-10-26 12:21:02 -04:00
utils.go Show container wait error 2017-12-15 14:15:30 -08:00
utils_test.go container.waitExitOrRemoved(): add a test case 2018-01-16 10:16:28 -08:00
wait.go Update gometalinter 2017-10-26 12:21:02 -04:00