Add support for --detach flag in stack deploy
Added --detach and --quiet/-q flags to stack deploy. Setting --detach=false waits until all of the stack services have converged. Shows progress bars for each individual task, unless --quiet/-q is specified. Co-authored-by: Sebastiaan van Stijn <github@gone.nl> Signed-off-by: George Margaritis <gmargaritis@protonmail.com>
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
35e6a41ff2
commit
b086d72769
@ -62,5 +62,5 @@ func runRollback(ctx context.Context, dockerCli command.Cli, options *serviceOpt
|
||||
return nil
|
||||
}
|
||||
|
||||
return waitOnService(ctx, dockerCli, serviceID, options.quiet)
|
||||
return WaitOnService(ctx, dockerCli, serviceID, options.quiet)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user