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
This commit is contained in:
Szymon Borkowski
2015-12-16 15:59:53 +01:00
parent 6dd17021cf
commit f39a383ed9

View File

@@ -1119,7 +1119,7 @@ def do_quota_update(cs, args):
@utils.arg('tenant', metavar='<tenant_id>', @utils.arg('tenant', metavar='<tenant_id>',
help='UUID of tenant to delete the quotas for.') help='UUID of tenant to delete the quotas for.')
@utils.service_type('volume') @utils.service_type('volumev2')
def do_quota_delete(cs, args): def do_quota_delete(cs, args):
"""Delete the quotas for a tenant.""" """Delete the quotas for a tenant."""