Merge "Adding backup resource to quota command"

This commit is contained in:
Jenkins
2013-04-11 15:15:55 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -71,7 +71,8 @@ class QuotaCommands(common.AuthedCommandsBase):
params = ['id',
'instances',
'volumes']
'volumes',
'backups']
def list(self):
"""List all quotas for a tenant"""