diff options
| author | Szymon Borkowski <szymon.borkowski@intel.com> | 2015-12-16 15:59:53 +0100 |
|---|---|---|
| committer | Szymon Borkowski <szymon.borkowski@intel.com> | 2015-12-16 16:19:00 +0100 |
| commit | f39a383ed9756f03a7bc33d511c1676c42b16e52 (patch) | |
| tree | be0d1180ae187c5cedff7d2cdbc880114fb23500 /cinderclient/v2 | |
| parent | 6dd17021cf6a09dfd9eeb4f8686441b1206716e2 (diff) | |
| download | python-cinderclient-f39a383ed9756f03a7bc33d511c1676c42b16e52.tar.gz | |
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
Diffstat (limited to 'cinderclient/v2')
| -rw-r--r-- | cinderclient/v2/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index 32e5f3e..2bb4ef5 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='<tenant_id>', 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.""" |
