Skip to content

Commit 55ef7ac

Browse files
committed
Merge branch 'aashutoshrathi-restart_policy_typo'
2 parents 8ffa09b + c5cc238 commit 55ef7ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/types/services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ class RestartPolicy(dict):
302302
condition (string): Condition for restart (``none``, ``on-failure``,
303303
or ``any``). Default: `none`.
304304
delay (int): Delay between restart attempts. Default: 0
305-
attempts (int): Maximum attempts to restart a given container before
306-
giving up. Default value is 0, which is ignored.
305+
max_attempts (int): Maximum attempts to restart a given container
306+
before giving up. Default value is 0, which is ignored.
307307
window (int): Time window used to evaluate the restart policy. Default
308308
value is 0, which is unbounded.
309309
"""

0 commit comments

Comments
 (0)