docs: fix RollbackConfig/Order values (#3027)

Closes #2626.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
Milas Bowman 2022-07-30 12:09:36 -04:00 committed by GitHub
parent dff849f6bb
commit 828d06f5f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -399,7 +399,7 @@ class UpdateConfig(dict):
an update before the failure action is invoked, specified as a an update before the failure action is invoked, specified as a
floating point number between 0 and 1. Default: 0 floating point number between 0 and 1. Default: 0
order (string): Specifies the order of operations when rolling out an 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', def __init__(self, parallelism=0, delay=None, failure_action='continue',
monitor=None, max_failure_ratio=None, order=None): 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 a rollback before the failure action is invoked, specified as a
floating point number between 0 and 1. Default: 0 floating point number between 0 and 1. Default: 0
order (string): Specifies the order of operations when rolling out a 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. accepted.
""" """
pass pass