Make sure code example is correctly presented (#4839)

This commit is contained in:
Gilad Peleg 2017-10-10 03:01:57 +03:00 committed by John Mulhausen
parent a74533976d
commit 25ed66a2c5
1 changed files with 2 additions and 2 deletions

View File

@ -1039,12 +1039,12 @@ for details on how healthchecks work.
timeout: 10s timeout: 10s
retries: 3 retries: 3
`interval` and `timeout` are specified as `interval` and `timeout` are specified as [durations](#specifying-durations).
[durations](#specifying-durations).
`test` must be either a string or a list. If it's a list, the first item must be `test` must be either a string or a list. If it's a list, the first item must be
either `NONE`, `CMD` or `CMD-SHELL`. If it's a string, it's equivalent to either `NONE`, `CMD` or `CMD-SHELL`. If it's a string, it's equivalent to
specifying `CMD-SHELL` followed by that string. specifying `CMD-SHELL` followed by that string.
# Hit the local web app # Hit the local web app
test: ["CMD", "curl", "-f", "http://localhost"] test: ["CMD", "curl", "-f", "http://localhost"]