Skip to content

Commit

Permalink
docs: Fix inaccurate field name in docs (#2591)
Browse files Browse the repository at this point in the history
  • Loading branch information
simster7 authored Apr 5, 2020
1 parent 21c7377 commit 99c3512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ spec:
- name: retry-backoff
retryStrategy:
limit: 10
retryOn: "Always"
retryPolicy: "Always"
backoff:
duration: "1" # Must be a string. Default unit is seconds. Could also be a Duration, e.g.: "2m", "6h", "1d"
factor: 2
Expand All @@ -810,7 +810,7 @@ spec:
```

* `limit` is the maximum number of times the container will be retried.
* `retryOn` specifies if a container will be retried on failure, error, or both. "Always" retries on both errors and failures. Also available: "OnFailure" (default), "OnError"
* `retryPolicy` specifies if a container will be retried on failure, error, or both. "Always" retries on both errors and failures. Also available: "OnFailure" (default), "OnError"
* `backoff` is an exponential backoff

Providing an empty `retryStrategy` (i.e. `retryStrategy: {}`) will cause a container to retry until completion.
Expand Down

0 comments on commit 99c3512

Please sign in to comment.