DockerCLI/cli
Vincent Demeester 31dc5c0a9a
Fix `--label` behavior on run
Commit 2b17f4c8a8 fixed the way empty labels
are taken into account (i.e. not interpolated from environment variable),
but it created a regression.

`ValidateLabel` functions doesn't allow empty label value, but it has
always been possible to pass an empty label via the cli (`docker run --label foo`).

This fixes that by not validating the label flag.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2018-02-27 12:14:07 +01:00
..
command Fix `--label` behavior on run 2018-02-27 12:14:07 +01:00
compose Fix typo in 3.6 schema ID 2018-02-21 19:55:12 +01:00
config Merge pull request #840 from dekkagaijin/master 2018-02-16 15:38:53 +01:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags Add DOCKER_TLS environment variable 2018-02-06 09:27:05 +01:00
manifest add manifest command 2018-01-08 10:43:56 -06:00
registry/client add manifest command 2018-01-08 10:43:56 -06:00
trust Bump moby to f4d4f5863156b82ef146b6ff1e845f8dcf019f12 2017-11-08 17:50:58 +01:00
winresources Add windows resources to binary. 2017-05-15 18:03:03 -04:00
cobra.go Hide help flag from help output. 2017-10-26 12:17:50 -04: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 Singularize / pluralize "argument(s)" in error message 2017-08-12 18:25:38 +02:00
version.go Add platform and its components to docker version output 2017-12-07 02:04:10 +01:00