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> |
||
---|---|---|
.. | ||
bundlefile | ||
container | ||
formatter | ||
idresolver | ||
image | ||
inspect | ||
network | ||
node | ||
plugin | ||
registry | ||
service | ||
stack | ||
swarm | ||
system | ||
task | ||
volume | ||
cli.go | ||
client.go | ||
commands.go | ||
credentials.go | ||
exec.go | ||
exec_test.go | ||
hijack.go | ||
info.go | ||
inspect.go | ||
registry.go | ||
trust.go | ||
trust_test.go | ||
update.go | ||
utils.go |