Skip to content

Commit 1f38d27

Browse files
mildlyincompetentrumpl
authored andcommitted
Clean up healtcheck.py docs
Signed-off-by: Kajetan Champlewski <[email protected]>
1 parent 241aaaa commit 1f38d27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/types/healthcheck.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Healthcheck(DictType):
1414
- Empty list: Inherit healthcheck from parent image
1515
- ``["NONE"]``: Disable healthcheck
1616
- ``["CMD", args...]``: exec arguments directly.
17-
- ``["CMD-SHELL", command]``: RUn command in the system's
17+
- ``["CMD-SHELL", command]``: Run command in the system's
1818
default shell.
1919
2020
If a string is provided, it will be used as a ``CMD-SHELL``
@@ -23,9 +23,9 @@ class Healthcheck(DictType):
2323
should be 0 or at least 1000000 (1 ms).
2424
timeout (int): The time to wait before considering the check to
2525
have hung. It should be 0 or at least 1000000 (1 ms).
26-
retries (integer): The number of consecutive failures needed to
26+
retries (int): The number of consecutive failures needed to
2727
consider a container as unhealthy.
28-
start_period (integer): Start period for the container to
28+
start_period (int): Start period for the container to
2929
initialize before starting health-retries countdown in
3030
nanoseconds. It should be 0 or at least 1000000 (1 ms).
3131
"""

0 commit comments

Comments
 (0)