The Docker CLI
Go to file
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
command cli: Preserve order of environment variables 2017-04-04 18:16:57 -07:00
compose Fix endpoint mode in Compose format. 2017-04-03 17:51:31 -04:00
config Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
debug Move debug functions to cli/debug package 2016-12-12 09:33:58 +01:00
flags fix the type 2017-02-14 09:54:27 +08:00
internal/test Add --prune to stack deploy. 2017-03-14 16:09:28 -04:00
trust Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
cobra.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00
error.go Remove old cli framework. 2016-08-25 13:09:04 -04:00
required.go Replace fmt.Errorf() with errors.Errorf() in the cli 2017-03-24 16:58:07 -04:00