Update services.py

Signed-off-by: Aashutosh Rathi <aashutoshrathi@gmail.com>
This commit is contained in:
Aashutosh Rathi 2017-04-18 03:56:13 +05:30 committed by Joffrey F
parent f127a9ffdc
commit c5cc23884a
1 changed files with 2 additions and 2 deletions

View File

@ -302,8 +302,8 @@ class RestartPolicy(dict):
condition (string): Condition for restart (``none``, ``on-failure``,
or ``any``). Default: `none`.
delay (int): Delay between restart attempts. Default: 0
attempts (int): Maximum attempts to restart a given container before
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.
window (int): Time window used to evaluate the restart policy. Default
value is 0, which is unbounded.
"""