DockerCLI/command/service
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
..
progress Synchronous service create and service update 2017-04-03 09:46:01 -07:00
cmd.go Add missing API version annotations to commands 2017-03-16 13:40:12 +01:00
create.go Synchronous service create and service update 2017-04-03 09:46:01 -07:00
helpers.go Synchronous service create and service update 2017-04-03 09:46:01 -07:00
inspect.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
inspect_test.go Add support for rollback flags 2017-03-03 16:33:34 -08:00
list.go Add `--format` to `docker service ls` 2017-02-01 08:33:19 -08:00
logs.go Add support for task and arbitrary combo logs 2017-04-03 18:40:54 -07:00
opts.go Synchronous service create and service update 2017-04-03 09:46:01 -07:00
opts_test.go Bump go-units 2017-02-07 21:58:56 +01:00
parse.go Merge pull request #30810 from allencloud/make-secret-ls-support-filter 2017-03-28 13:43:19 +02:00
ps.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
remove.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
scale.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
trust.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
update.go cli: Preserve order of environment variables 2017-04-04 18:16:57 -07:00
update_test.go Merge pull request #30725 from aaronlehmann/topology 2017-03-03 15:01:12 +01:00