Remove --name flag from service update

The --name flag was inadvertently added to
docker service update, but is not supported,
as it has various side-effects (e.g., existing
tasks are not renamed).

This removes the flag from the service update
command.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 047e44eeb186a8bde41765a44c5966a150fa84f3
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2016-09-28 12:34:31 +02:00
parent a12095fbb1
commit 4cadaabc3f
8 changed files with 6 additions and 7 deletions

View File

@ -4846,7 +4846,7 @@ image](#create-an-image) section for more details.
**JSON Parameters**:
- **Name** User-defined name for the service.
- **Name** User-defined name for the service. Note that renaming services is not supported.
- **Labels** A map of labels to associate with the service (e.g., `{"key":"value", "key2":"value2"}`).
- **TaskTemplate** Specification of the tasks to start as part of the new service.
- **ContainerSpec** - Container settings for containers started as part of this task.

View File

@ -5375,7 +5375,7 @@ image](#create-an-image) section for more details.
**JSON Parameters**:
- **Name** User-defined name for the service.
- **Name** User-defined name for the service. Note that renaming services is not supported.
- **Labels** A map of labels to associate with the service (e.g., `{"key":"value", "key2":"value2"}`).
- **TaskTemplate** Specification of the tasks to start as part of the new service.
- **ContainerSpec** - Container settings for containers started as part of this task.