[trivial] Fix typo in policy error message

Change-Id: I5fa4b9f876be9e4f0276f123d5355cb2299517ec
This commit is contained in:
Arne Wiebalck 2022-02-09 18:20:29 +01:00
parent a4a89d6b20
commit 34a582a013

View File

@ -1862,7 +1862,7 @@ def authorize(rule, target, creds, *args, **kwargs):
return enforcer.authorize(rule, target, creds, do_raise=True,
*args, **kwargs)
except policy.PolicyNotAuthorized as e:
LOG.error('Rejecting authorzation: %(error)s',
LOG.error('Rejecting authorization: %(error)s',
{'error': e})
raise exception.HTTPForbidden(resource=rule)