mirror of https://github.com/docker/docs.git
Change `docker service update` to replace attributes of the target service rather than augment them. One particular occurrence where the previous behavior proved problematic is when trying to update a port mapping: the merge semantics provided no way of removing published ports, but strictly of adding more. The utility merge* functions where renamed accordingly to update*. Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com> (cherry picked from commit 1f8ab93b4422a88ef3053105c17acf1933576fbe) |
||
|---|---|---|
| .. | ||
| client | ||
| fixtures | ||
| server | ||
| types/backend | ||
| README.md | ||
| common.go | ||
| 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