Skip to content

Commit 828d06f

Browse files
authored
docs: fix RollbackConfig/Order values (#3027)
Closes #2626. Signed-off-by: Milas Bowman <[email protected]>
1 parent dff849f commit 828d06f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/types/services.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ class UpdateConfig(dict):
399399
an update before the failure action is invoked, specified as a
400400
floating point number between 0 and 1. Default: 0
401401
order (string): Specifies the order of operations when rolling out an
402-
updated task. Either ``start_first`` or ``stop_first`` are accepted.
402+
updated task. Either ``start-first`` or ``stop-first`` are accepted.
403403
"""
404404
def __init__(self, parallelism=0, delay=None, failure_action='continue',
405405
monitor=None, max_failure_ratio=None, order=None):
@@ -453,7 +453,7 @@ class RollbackConfig(UpdateConfig):
453453
a rollback before the failure action is invoked, specified as a
454454
floating point number between 0 and 1. Default: 0
455455
order (string): Specifies the order of operations when rolling out a
456-
rolled back task. Either ``start_first`` or ``stop_first`` are
456+
rolled back task. Either ``start-first`` or ``stop-first`` are
457457
accepted.
458458
"""
459459
pass

0 commit comments

Comments
 (0)