mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Service --update-parallelism
defauls to 0
The `--update-parallelism` flaag should default to 0, which is interpreted by the backend as unlimited. In other words, by default all services should update simultaneously. Signed-off-by: Arnaud Porterie (icecrime) <arnaud.porterie@docker.com>
This commit is contained in:
parent
17bf13b1b2
commit
f22d0174f3
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ func addServiceFlags(cmd *cobra.Command, opts *serviceOptions) {
|
|||
|
||||
flags.StringSliceVar(&opts.constraints, flagConstraint, []string{}, "Placement constraints")
|
||||
|
||||
flags.Uint64Var(&opts.update.parallelism, flagUpdateParallelism, 1, "Maximum number of tasks updated simultaneously")
|
||||
flags.Uint64Var(&opts.update.parallelism, flagUpdateParallelism, 0, "Maximum number of tasks updated simultaneously")
|
||||
flags.DurationVar(&opts.update.delay, flagUpdateDelay, time.Duration(0), "Delay between updates")
|
||||
|
||||
flags.StringSliceVar(&opts.networks, flagNetwork, []string{}, "Network attachments")
|
||||
|
|
Loading…
Add table
Reference in a new issue