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.
1 parent f127a9f commit c5cc238Copy full SHA for c5cc238
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