DockerCLI/cli/command/service
Sebastiaan van Stijn f10f29df8d
Allow --detach and --quiet flags when using --rollback
Commit 78c204ef79 added
(f9bd8ec8b268581f93095c5a80679f0a8ff498bf in the moby repo)
a validation to prevent `--rollback` from being used
in combination with other flags that update the
service spec.

This validation was not taking into account that
some flags only affect the CLI behavior, and
are okay to be used when rolling back.

This patch updates the validation, and adds
`--quiet` and `--detach` to the list of allowed
flags.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-01 16:31:07 +02:00
..
progress cli: gofmt + goimports 2017-05-08 10:51:30 -07:00
cmd.go Add interfacer linter 2017-05-08 15:57:50 -04:00
create.go Adding a flag to allow disabling registry lookup 2017-05-17 17:55:11 -07:00
helpers.go Avoid loop when discarding contents of progress pipe 2017-05-16 14:34:59 -07:00
inspect.go cli: gofmt + goimports 2017-05-08 10:51:30 -07:00
inspect_test.go Update imports. 2017-04-17 18:07:56 -04:00
list.go Update cli imports to using local package 2017-05-15 14:45:19 +02:00
logs.go Add support for details on service logs 2017-05-16 16:53:58 -07:00
opts.go Merge pull request #77 from vdemeester/move-duration-opts 2017-05-18 11:15:30 +02:00
opts_test.go Move duration opts into an opts package 2017-05-16 17:49:40 +02:00
parse.go Add support for configs 2017-05-11 13:42:49 -07:00
ps.go Update cli imports to using local package 2017-05-15 14:45:19 +02:00
remove.go Update imports. 2017-04-17 18:07:56 -04:00
scale.go Update imports. 2017-04-17 18:07:56 -04:00
trust.go Service create/update set QueryRegistry appropriately 2017-05-17 17:39:35 -07:00
update.go Allow --detach and --quiet flags when using --rollback 2017-06-01 16:31:07 +02:00
update_test.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00