Merge "Adding backup resource to quota command"
This commit is contained in:
@@ -184,7 +184,7 @@ class ReddwarfHTTPClient(httplib2.Http):
|
||||
else:
|
||||
body = None
|
||||
|
||||
if resp.status in (400, 401, 403, 404, 408, 409, 413, 500, 501):
|
||||
if resp.status in (400, 401, 403, 404, 408, 409, 413, 422, 500, 501):
|
||||
raise exceptions.from_response(resp, body)
|
||||
|
||||
return resp, body
|
||||
|
@@ -71,7 +71,8 @@ class QuotaCommands(common.AuthedCommandsBase):
|
||||
|
||||
params = ['id',
|
||||
'instances',
|
||||
'volumes']
|
||||
'volumes',
|
||||
'backups']
|
||||
|
||||
def list(self):
|
||||
"""List all quotas for a tenant"""
|
||||
|
Reference in New Issue
Block a user