moby--moby/api
Yong Tang b487497cd2 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>
2016-08-10 18:03:43 -07:00
..
client Idempotent service update --publish-add 2016-08-10 18:03:43 -07:00
fixtures
server Add --force to docker plugin remove 2016-08-04 15:55:45 -07:00
types/backend
README.md
common.go Atomically save libtrust key file 2016-06-27 15:54:39 -07:00
common_test.go

README.md

This directory contains code pertaining to the Docker API:

  • Used by the docker client when communicating with the docker daemon

  • Used by third party tools wishing to interface with the docker daemon