浏览代码

For the lulz! (evalulate -> evaluate)

Signed-off-by: orkaa <orkica@gmail.com>
orkaa 9 年之前
父节点
当前提交
1bdbfa5770

+ 1 - 1
api/client/service/opts.go

@@ -453,7 +453,7 @@ func addServiceFlags(cmd *cobra.Command, opts *serviceOptions) {
 	flags.StringVar(&opts.restartPolicy.condition, flagRestartCondition, "", "Restart when condition is met (none, on_failure, or any)")
 	flags.Var(&opts.restartPolicy.delay, flagRestartDelay, "Delay between restart attempts")
 	flags.Var(&opts.restartPolicy.maxAttempts, flagRestartMaxAttempts, "Maximum number of restarts before giving up")
-	flags.Var(&opts.restartPolicy.window, flagRestartWindow, "Window used to evalulate the restart policy")
+	flags.Var(&opts.restartPolicy.window, flagRestartWindow, "Window used to evaluate the restart policy")
 
 	flags.StringSliceVar(&opts.constraints, flagConstraint, []string{}, "Placement constraints")
 

+ 1 - 1
docs/reference/commandline/service_create.md

@@ -35,7 +35,7 @@ Options:
       --restart-condition string     Restart when condition is met (none, on_failure, or any)
       --restart-delay value          Delay between restart attempts (default none)
       --restart-max-attempts value   Maximum number of restarts before giving up (default none)
-      --restart-window value         Window used to evalulate the restart policy (default none)
+      --restart-window value         Window used to evaluate the restart policy (default none)
       --stop-grace-period value      Time to wait before force killing a container (default none)
       --update-delay duration        Delay between updates
       --update-parallelism uint      Maximum number of tasks updated simultaneously

+ 1 - 1
docs/reference/commandline/service_update.md

@@ -38,7 +38,7 @@ Options:
       --restart-condition string     Restart when condition is met (none, on_failure, or any)
       --restart-delay value          Delay between restart attempts (default none)
       --restart-max-attempts value   Maximum number of restarts before giving up (default none)
-      --restart-window value         Window used to evalulate the restart policy (default none)
+      --restart-window value         Window used to evaluate the restart policy (default none)
       --stop-grace-period value      Time to wait before force killing a container (default none)
       --update-delay duration        Delay between updates
       --update-parallelism uint      Maximum number of tasks updated simultaneously