summaryrefslogtreecommitdiff
path: root/openstackclient/volume/v2/consistency_group_snapshot.py
diff options
context:
space:
mode:
authorBram Verschueren <verschueren.bram@gmail.com>2019-12-13 11:13:54 +0100
committerBram Verschueren <verschueren.bram@gmail.com>2019-12-19 09:48:17 +0100
commit69870ae439f18863979949f5728543a0fb1cbe83 (patch)
tree7055cb03af5612586e8bc7b2ff8b1ce9fd31a841 /openstackclient/volume/v2/consistency_group_snapshot.py
parent5b3a827a1ff80e4b51c7ede44b84bf640d5b6380 (diff)
downloadpython-openstackclient-69870ae439f18863979949f5728543a0fb1cbe83.tar.gz
Fix faulthy state argument choice
The correct state name for a failing volume snapshot deletion is 'error_deleting' instead of 'error-deleting'. [1] [1] https://opendev.org/openstack/cinder/src/commit/89d6a5042fcb2ede5a0b1112d72fae805ea52fcd/cinder/objects/fields.py#L126 Task: #37844 Story: #2007037 Change-Id: Ia99900ece4f1cd29769b22ddaa3965789d719556
Diffstat (limited to 'openstackclient/volume/v2/consistency_group_snapshot.py')
-rw-r--r--openstackclient/volume/v2/consistency_group_snapshot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/volume/v2/consistency_group_snapshot.py b/openstackclient/volume/v2/consistency_group_snapshot.py
index 540deb01..3cba4eca 100644
--- a/openstackclient/volume/v2/consistency_group_snapshot.py
+++ b/openstackclient/volume/v2/consistency_group_snapshot.py
@@ -129,7 +129,7 @@ class ListConsistencyGroupSnapshot(command.Lister):
'--status',
metavar="<status>",
choices=['available', 'error', 'creating', 'deleting',
- 'error-deleting'],
+ 'error_deleting'],
help=_('Filters results by a status ("available", "error", '
'"creating", "deleting" or "error_deleting")')
)