diff options
| author | jeremy.zhang <zhangjun_inspur@163.com> | 2018-01-30 15:31:27 +0800 |
|---|---|---|
| committer | Jeremy Zhang <zhangjun_inspur@163.com> | 2018-03-12 01:26:25 +0000 |
| commit | 0fb448cc6d0c7b3c422bed22bf004ac575b83293 (patch) | |
| tree | 3d404cc7a7340d1f7ba9122ca991304581bf2324 /cinderclient | |
| parent | c89272335aee016775dc4c878a6c223927d3436d (diff) | |
| download | python-cinderclient-0fb448cc6d0c7b3c422bed22bf004ac575b83293.tar.gz | |
Add api_version wraps for group snapshot list in v3/shell.py
The API 'do_group_snapshot_list' in v3/shell.py misses api_version wraps,
and the cmd 'cinder group-snapshot-list' can be used even not specifing
the param 'os-volume-api-version'. This patch just to fix it.
Change-Id: I6a46e587b1aab692fe6b81b46fa3d95ab66c0625
Diffstat (limited to 'cinderclient')
| -rw-r--r-- | cinderclient/v3/shell.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py index 05bdbef..cd385b4 100644 --- a/cinderclient/v3/shell.py +++ b/cinderclient/v3/shell.py @@ -1516,6 +1516,7 @@ def do_group_list_replication_targets(cs, args): utils.print_list(rep_targets, [key for key in rep_targets[0].keys()]) +@api_versions.wraps('3.14') @utils.arg('--all-tenants', dest='all_tenants', metavar='<0|1>', |
