summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Murga <work@murga.kiev.ua>2018-07-20 13:20:19 +0300
committerJoffrey F <joffrey@docker.com>2018-08-09 17:11:47 -0700
commit8ee446631d6da7ca8e52a4f65aafecf2de1c8ea6 (patch)
tree8ebd1b144897c2711d9b943af2e17879ab0d14ee
parent185f72723ab8bac589e73e58be64f1665472762e (diff)
downloaddocker-py-8ee446631d6da7ca8e52a4f65aafecf2de1c8ea6.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``