Skip to content

Commit

Permalink
docs: fix RollbackConfig/Order values (#3027)
Browse files Browse the repository at this point in the history
Closes #2626.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
  • Loading branch information
milas committed Jul 30, 2022
1 parent dff849f commit 828d06f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/types/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 828d06f

Please sign in to comment.