Merge pull request #1905 from hashicorp/sethvargo/faildocs

Clarify restart mode "fail"
This commit is contained in:
Alex Dadgar 2016-11-01 10:43:29 -07:00 committed by GitHub
commit 80c09f188f

View file

@ -93,5 +93,5 @@ restart {
`interval` is reached. This is the default behavior.
- `"fail"` - Instructs the scheduler to not attempt to restart the task on
failure. This mode is useful for non-idempotent jobs which are not safe to
simply restart.
failure. This mode is useful for non-idempotent jobs which are unlikely to
succeed after a few failures.