1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/api/client
Yong Tang fdf513e99d Fix service update --env-add issue
This fix tries to address the issue in 25404 where updating environmental
variable in `service update --env-add` will not work.

The issue is because `--env-add` will only append the env, not update if
the same env already exist.

This fix tracks the env variable with a map and update if the variable
is the same.

An integration test has been added.

This fix fixes 25404.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
(cherry picked from commit c6de8add5f)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-08-11 17:56:49 -07:00
..
bundlefile
container update command description in CLI 2016-08-11 17:56:44 -07:00
formatter
idresolver
image Updates on cli reference documentation 2016-07-08 15:33:27 -07:00
inspect
network update command description in CLI 2016-08-11 17:56:44 -07:00
node Adding Joined at to node inspect 2016-08-11 17:56:48 -07:00
plugin update command description in CLI 2016-08-11 17:56:44 -07:00
registry
service Fix service update --env-add issue 2016-08-11 17:56:49 -07:00
stack cli: docker service|node|stack ps instead of tasks 2016-07-27 11:20:25 -07:00
swarm Improve swarm join-token instructions 2016-08-11 17:56:45 -07:00
system update command description in CLI 2016-08-11 17:56:44 -07:00
task service tasks: Improve error reporting 2016-07-25 23:18:29 -07:00
volume update command description in CLI 2016-08-11 17:56:44 -07:00
cli.go Windows: Always enable VT emulation 2016-07-25 23:15:25 -07:00
client.go
commands.go
credentials.go
exec.go Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
exec_test.go
hijack.go
info.go Output external CAs in swarm mode with docker info 2016-08-11 17:56:44 -07:00
inspect.go Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
registry.go
trust.go
trust_test.go
update.go
utils.go