docs/api/client/service
Yong Tang f99fd5a3f9 Idempotent service update --publish-add
This fix tries to address the issue raised in 25375 where
`service update --publish-add` returns an error if the exact
same value is repeated (idempotent).

This fix use a map to filter out repeated port configs so
that `--publish-add` does not error out.

An integration test has been added.

This fix fixes 25375.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
(cherry picked from commit b487497cd2d7586fd7e10affdcc514ca6b7884f6)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-08-11 17:56:51 -07:00
..
cmd.go cli: `docker service|node|stack ps` instead of tasks 2016-07-27 11:20:25 -07:00
create.go Add container labels to service create/update 2016-07-26 03:51:43 -07:00
inspect.go cli: service inspect - Null check for UpdateConfig 2016-08-11 17:56:48 -07:00
inspect_test.go cli: service inspect - Null check for UpdateConfig 2016-08-11 17:56:48 -07:00
list.go Don't automagically add "[OPTIONS]" to usage 2016-07-25 23:15:41 -07:00
opts.go Remove extraneous mount aliases. 2016-07-27 15:07:20 -04:00
opts_test.go Remove extraneous mount aliases. 2016-07-27 15:07:20 -04:00
ps.go cli: `docker service|node|stack ps` instead of tasks 2016-07-27 11:20:25 -07:00
remove.go update command description in CLI 2016-08-11 17:56:44 -07:00
scale.go re-vendor engine-api 2016-07-08 15:32:23 -07:00
update.go Idempotent service update --publish-add 2016-08-11 17:56:51 -07:00
update_test.go Idempotent service update --publish-add 2016-08-11 17:56:51 -07:00