Merge "Improved quota error message"

This commit is contained in:
Jenkins 2014-04-16 05:20:17 +00:00 committed by Gerrit Code Review
commit 79d2fcfbd1
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class QuotaSetsController(wsgi.Controller):
def show(self, request, id):
if id != request.context.tenant_id:
self._check_admin(request.context,
reason=_("Non-admin is not authorised "
reason=_("Only admin is authorized "
"to access quotas for another tenant"))
return {self._resource_name: self._get_quotas(request, id)}