From f39a383ed9756f03a7bc33d511c1676c42b16e52 Mon Sep 17 00:00:00 2001 From: Szymon Borkowski Date: Wed, 16 Dec 2015 15:59:53 +0100 Subject: [PATCH] Fix for 'quota-delete' call to API v2 Before, when API in cinderclient was set to v2, the issued call used to fail with an error message, that the call is connecting to the endpoint compatible to API v1, when other quota calls were connecting to the proper, v2 enpoint. Change-Id: I99a16e93ed15e3819d48d193b550c786012462d8 Closes-Bug: 1526829 --- cinderclient/v2/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index 32e5f3ea9..2bb4ef5e6 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -1119,7 +1119,7 @@ def do_quota_update(cs, args): @utils.arg('tenant', metavar='', help='UUID of tenant to delete the quotas for.') -@utils.service_type('volume') +@utils.service_type('volumev2') def do_quota_delete(cs, args): """Delete the quotas for a tenant."""