Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow --detach and --quiet flags when using --rollback #144

Merged
merged 1 commit into from
Jun 1, 2017

Commits on Jun 1, 2017

  1. Allow --detach and --quiet flags when using --rollback

    Commit 78c204e added
    (f9bd8ec 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 <[email protected]>
    thaJeztah committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    f10f29d View commit details
    Browse the repository at this point in the history