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
This commit is contained in:
committed by
Jeremy Zhang
parent
c89272335a
commit
0fb448cc6d
@@ -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>',
|
||||
|
||||
Reference in New Issue
Block a user