summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilas Bowman <milas.bowman@docker.com>2022-07-30 12:09:36 -0400
committerGitHub <noreply@github.com>2022-07-30 12:09:36 -0400
commit828d06f5f5e2c8ecd9a8d53c1ef40f37d19a62f5 (patch)
treee2490f4a05cf6bf255fcd6765173cec6e581d3f1
parentdff849f6bb7d6805f52dd2112b8666c86d3f3235 (diff)
downloaddocker-py-828d06f5f5e2c8ecd9a8d53c1ef40f37d19a62f5.tar.gz
docs: fix RollbackConfig/Order values (#3027)
Closes #2626. Signed-off-by: Milas Bowman <milas.bowman@docker.com>
-rw-r--r--docker/types/services.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/types/services.py b/docker/types/services.py
index c2fce9f..360aed0 100644
--- a/docker/types/services.py
+++ b/docker/types/services.py
@@ -399,7 +399,7 @@ class UpdateConfig(dict):
an update before the failure action is invoked, specified as a
floating point number between 0 and 1. Default: 0
order (string): Specifies the order of operations when rolling out an
- updated task. Either ``start_first`` or ``stop_first`` are accepted.
+ updated task. Either ``start-first`` or ``stop-first`` are accepted.
"""
def __init__(self, parallelism=0, delay=None, failure_action='continue',
monitor=None, max_failure_ratio=None, order=None):
@@ -453,7 +453,7 @@ class RollbackConfig(UpdateConfig):
a rollback before the failure action is invoked, specified as a
floating point number between 0 and 1. Default: 0
order (string): Specifies the order of operations when rolling out a
- rolled back task. Either ``start_first`` or ``stop_first`` are
+ rolled back task. Either ``start-first`` or ``stop-first`` are
accepted.
"""
pass