Change message format of Forbidden
Not authorized is usually related to '401' HTTP exception and we probably will create a new UnAuthorized exception in https://review.openstack.org/#/c/312014/ with same message so we can change this one to 'Forbidden' Change-Id: I83c032efeae8d353c6c215a00b814e303560da80
This commit is contained in:
parent
0f8b89c6bf
commit
35903eb34f
|
@ -192,7 +192,7 @@ class CinderConnectionFailed(NovaException):
|
|||
|
||||
class Forbidden(NovaException):
|
||||
ec2_code = 'AuthFailure'
|
||||
msg_fmt = _("Not authorized.")
|
||||
msg_fmt = _("Forbidden")
|
||||
code = 403
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue