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:
@@ -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."""
|
||||
|
||||
|
Reference in New Issue
Block a user