summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Murga <work@murga.kiev.ua>2018-07-20 13:20:19 +0300
committerNikolay Murga <work@murga.kiev.ua>2018-07-20 13:20:19 +0300
commit24fff59bd95d077a523496a942225a074707bc08 (patch)
treead6ed618a29ac55aa88bf49e57dddc6852a8f885
parent3112d3920988fde5afa35d2dadbb5298db3a77da (diff)
downloaddocker-py-24fff59bd95d077a523496a942225a074707bc08.tar.gz
Add documentation for delay property
Signed-off-by: Nikolay Murga <work@murga.kiev.ua>
-rw-r--r--docker/types/services.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/types/services.py b/docker/types/services.py
index a914cef..2940763 100644
--- a/docker/types/services.py
+++ b/docker/types/services.py
@@ -368,7 +368,7 @@ class UpdateConfig(dict):
parallelism (int): Maximum number of tasks to be updated in one
iteration (0 means unlimited parallelism). Default: 0.
- delay (int): Amount of time between updates.
+ delay (int): Amount of time between updates, in nanoseconds.
failure_action (string): Action to take if an updated task fails to
run, or stops running during the update. Acceptable values are
``continue``, ``rollback`` and ``pause``. Default: ``continue``