mirror of
https://github.com/docker/cli.git
synced 2026-09-25 07:50:37 -05:00
932aa61090615d8fe6f14e2dc4d8c9f60d75ca7c
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> Upstream-commit: b487497cd2d7586fd7e10affdcc514ca6b7884f6 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%