From 0fb448cc6d0c7b3c422bed22bf004ac575b83293 Mon Sep 17 00:00:00 2001 From: "jeremy.zhang" Date: Tue, 30 Jan 2018 15:31:27 +0800 Subject: [PATCH] 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 --- cinderclient/v3/shell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cinderclient/v3/shell.py b/cinderclient/v3/shell.py index 05bdbef46..cd385b47f 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>',