We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ffa09b + c5cc238 commit 55ef7acCopy full SHA for 55ef7ac
docker/types/services.py
@@ -302,8 +302,8 @@ class RestartPolicy(dict):
302
condition (string): Condition for restart (``none``, ``on-failure``,
303
or ``any``). Default: `none`.
304
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.
+ max_attempts (int): Maximum attempts to restart a given container
+ before giving up. Default value is 0, which is ignored.
307
window (int): Time window used to evaluate the restart policy. Default
308
value is 0, which is unbounded.
309
"""
0 commit comments