Signed-off-by: orkaa <orkica@gmail.com>
| ... | ... |
@@ -453,7 +453,7 @@ func addServiceFlags(cmd *cobra.Command, opts *serviceOptions) {
|
| 453 | 453 |
flags.StringVar(&opts.restartPolicy.condition, flagRestartCondition, "", "Restart when condition is met (none, on_failure, or any)") |
| 454 | 454 |
flags.Var(&opts.restartPolicy.delay, flagRestartDelay, "Delay between restart attempts") |
| 455 | 455 |
flags.Var(&opts.restartPolicy.maxAttempts, flagRestartMaxAttempts, "Maximum number of restarts before giving up") |
| 456 |
- flags.Var(&opts.restartPolicy.window, flagRestartWindow, "Window used to evalulate the restart policy") |
|
| 456 |
+ flags.Var(&opts.restartPolicy.window, flagRestartWindow, "Window used to evaluate the restart policy") |
|
| 457 | 457 |
|
| 458 | 458 |
flags.StringSliceVar(&opts.constraints, flagConstraint, []string{}, "Placement constraints")
|
| 459 | 459 |
|
| ... | ... |
@@ -35,7 +35,7 @@ Options: |
| 35 | 35 |
--restart-condition string Restart when condition is met (none, on_failure, or any) |
| 36 | 36 |
--restart-delay value Delay between restart attempts (default none) |
| 37 | 37 |
--restart-max-attempts value Maximum number of restarts before giving up (default none) |
| 38 |
- --restart-window value Window used to evalulate the restart policy (default none) |
|
| 38 |
+ --restart-window value Window used to evaluate the restart policy (default none) |
|
| 39 | 39 |
--stop-grace-period value Time to wait before force killing a container (default none) |
| 40 | 40 |
--update-delay duration Delay between updates |
| 41 | 41 |
--update-parallelism uint Maximum number of tasks updated simultaneously |
| ... | ... |
@@ -38,7 +38,7 @@ Options: |
| 38 | 38 |
--restart-condition string Restart when condition is met (none, on_failure, or any) |
| 39 | 39 |
--restart-delay value Delay between restart attempts (default none) |
| 40 | 40 |
--restart-max-attempts value Maximum number of restarts before giving up (default none) |
| 41 |
- --restart-window value Window used to evalulate the restart policy (default none) |
|
| 41 |
+ --restart-window value Window used to evaluate the restart policy (default none) |
|
| 42 | 42 |
--stop-grace-period value Time to wait before force killing a container (default none) |
| 43 | 43 |
--update-delay duration Delay between updates |
| 44 | 44 |
--update-parallelism uint Maximum number of tasks updated simultaneously |