Browse Source

Corrections in default value of all_stores_must_succeed

Change-Id: I7b04f8ba86e0d6f42ef436e30ece9f019221e318
Closes-Bug: #1884996
tags/21.0.0.0b2
Abhishek Kekane 2 weeks ago
parent
commit
e16d5c9ba3
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      api-ref/source/v2/images-import.inc
  2. +2
    -2
      api-ref/source/v2/images-parameters.yaml

+ 2
- 2
api-ref/source/v2/images-import.inc View File

@@ -211,10 +211,10 @@ Note that this can't be used simultaneously with the ``stores`` parameter.

To set the behavior of the import workflow in case of error, you can use the
optional boolean body parameter ``all_stores_must_succeed``.
When set to True, if an error occurs during the upload in at least one store,
When set to True (default), if an error occurs during the upload in at least one store,
the worfklow fails, the data is deleted from stores where copying is done and
the state of the image remains unchanged.
When set to False (default), the workflow will fail only if the upload fails
When set to False, the workflow will fail only if the upload fails
on all stores specified. In case of a partial success, the locations added to
the image will be the stores where the data has been correctly uploaded.



+ 2
- 2
api-ref/source/v2/images-parameters.yaml View File

@@ -300,13 +300,13 @@ all-stores-succeed-in-request:
description: |
A boolean parameter indicating the behavior of the import workflow when an
error occurs.
When set to True, if an error occurs during the upload in at least one
When set to True (default), if an error occurs during the upload in at least one
store, the worfklow fails, the data is deleted from stores where copying
is done (not staging), and the state of the image is unchanged.
When set to False, the workflow will fail (data deleted from stores, ...)
only if the import fails on all stores specified by the user. In case of a
partial success, the locations added to the image will be the stores where
the data has been correctly uploaded.
the data has been correctly uploaded. Default is True.
in: body
required: false
type: boolean


Loading…
Cancel
Save