소스 검색

For the lulz! (evalulate -> evaluate)

Signed-off-by: orkaa <orkica@gmail.com>
(cherry picked from commit 1bdbfa57709586f9fa747c2323bc3cd3b03e90f0)
orkaa 9 년 전
부모
커밋
d4cdc5172c
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      api/client/service/opts.go
  2. 1 1
      docs/reference/commandline/service_create.md
  3. 1 1
      docs/reference/commandline/service_update.md

+ 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.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.delay, flagRestartDelay, "Delay between restart attempts")
 	flags.Var(&opts.restartPolicy.maxAttempts, flagRestartMaxAttempts, "Maximum number of restarts before giving up")
 	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")
 	flags.StringSliceVar(&opts.constraints, flagConstraint, []string{}, "Placement constraints")
 
 

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

@@ -37,7 +37,7 @@ Options:
       --restart-condition string     Restart when condition is met (none, on_failure, or any)
       --restart-condition string     Restart when condition is met (none, on_failure, or any)
       --restart-delay value          Delay between restart attempts (default none)
       --restart-delay value          Delay between restart attempts (default none)
       --restart-max-attempts value   Maximum number of restarts before giving up (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)
       --stop-grace-period value      Time to wait before force killing a container (default none)
       --update-delay duration        Delay between updates
       --update-delay duration        Delay between updates
       --update-parallelism uint      Maximum number of tasks updated simultaneously
       --update-parallelism uint      Maximum number of tasks updated simultaneously

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

@@ -39,7 +39,7 @@ Options:
       --restart-condition string     Restart when condition is met (none, on_failure, or any)
       --restart-condition string     Restart when condition is met (none, on_failure, or any)
       --restart-delay value          Delay between restart attempts (default none)
       --restart-delay value          Delay between restart attempts (default none)
       --restart-max-attempts value   Maximum number of restarts before giving up (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)
       --stop-grace-period value      Time to wait before force killing a container (default none)
       --update-delay duration        Delay between updates
       --update-delay duration        Delay between updates
       --update-parallelism uint      Maximum number of tasks updated simultaneously
       --update-parallelism uint      Maximum number of tasks updated simultaneously