DockerCLI/command
Aaron Lehmann 71d1b0507e cli: Preserve order of environment variables
Unless we are adding or removing environment variables, their order
shouldn't be changed. This makes it look like the service's TaskSpec has
changed relative to the old version of the service, and containers need
to be redeployed.

The existing code always rebuilds the list of environment variables by
converting them to a map and back, but there's no reason to do this if
no environment variables are being added.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-04-04 18:16:57 -07:00
..
bundlefile Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
checkpoint Use formatter in docker checkpoint ls 2017-03-19 09:24:15 +02:00
commands Give a order to AddCommands, for easy read and maintenance. 2016-12-08 16:43:14 +08:00
container Clarify meaning of docker attach 2017-03-31 13:22:21 -07:00
formatter Add `PORTS` field for `docker service ls` (`ingress`) 2017-04-03 18:40:15 -07:00
idresolver Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
image Manually reorganize import paths to segregate stdlib and 3rd-party packages 2017-03-27 18:21:59 -07:00
inspect Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
network Merge pull request #31709 from dnephin/better-errors 2017-03-28 10:17:46 +02:00
node Merge pull request #31989 from aaronlehmann/node-ps-outside-swarm-mode 2017-04-03 16:15:24 +02:00
plugin Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
prune Add `--filter until=<timestamp>` for `docker container/image prune` 2017-01-04 14:16:42 -08:00
registry Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
secret Merge pull request #30810 from allencloud/make-secret-ls-support-filter 2017-03-28 13:43:19 +02:00
service cli: Preserve order of environment variables 2017-04-04 18:16:57 -07:00
stack Merge pull request #31709 from dnephin/better-errors 2017-03-28 10:17:46 +02:00
swarm Manually reorganize import paths to segregate stdlib and 3rd-party packages 2017-03-27 18:21:59 -07:00
system Merge pull request #31022 from jmzwcn/issue30994 2017-03-31 15:55:03 -07:00
task Add `--format` to `docker service ps` 2017-02-10 16:53:04 -08:00
volume Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
cli.go Merge pull request #31830 from dnephin/refactor-cli-state 2017-03-29 13:36:32 +02:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Manually reorganize import paths to segregate stdlib and 3rd-party packages 2017-03-27 18:21:59 -07:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
trust.go fix flag descriptions for content-trust 2017-01-23 14:52:36 +01:00
utils.go Fix "command.PromptForConfirmation" to accept "enter" for the "N" default 2017-02-06 09:13:07 -08:00