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>
This commit is contained in:
Sebastiaan van Stijn
2017-06-02 00:10:29 +00:00
committed by Tibor Vass
parent bce3414931
commit 6fbb9227cb
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -2576,7 +2576,6 @@ _docker_service_update() {
--log-driver
--log-opt
--mount
--name
--network
--publish -p
--replicas
@@ -2608,6 +2607,7 @@ _docker_service_update() {
options_with_args="$options_with_args
--container-label
--mode
--name
"
case "$prev" in