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:
jeremy.zhang
2018-01-30 15:31:27 +08:00
committed by Jeremy Zhang
parent c89272335a
commit 0fb448cc6d

View File

@@ -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>',