mirror of
https://github.com/docker/cli.git
synced 2026-11-06 21:18:28 -04:00
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:
committed by
Tibor Vass
parent
bce3414931
commit
6fbb9227cb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user