mirror of https://github.com/docker/docs.git
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> |
||
---|---|---|
.. | ||
cmd.go | ||
create.go | ||
inspect.go | ||
inspect_test.go | ||
list.go | ||
opts.go | ||
opts_test.go | ||
ps.go | ||
remove.go | ||
scale.go | ||
update.go | ||
update_test.go |