remove redundant parenthesis
Change-Id: I062e5d987dd5280df6a96386ff59ccd64227c0cd
This commit is contained in:
parent
72d018cc7d
commit
37569b1d91
@ -87,7 +87,7 @@ class WebhookApis(object):
|
|||||||
if ctx.get(TenantProps.TENANT, "") == \
|
if ctx.get(TenantProps.TENANT, "") == \
|
||||||
webhooks[0][Vprops.PROJECT_ID] or ctx.get(
|
webhooks[0][Vprops.PROJECT_ID] or ctx.get(
|
||||||
TenantProps.IS_ADMIN, False):
|
TenantProps.IS_ADMIN, False):
|
||||||
return (webhooks[0])
|
return webhooks[0]
|
||||||
else:
|
else:
|
||||||
LOG.warning('Webhook show - Authorization failed (%s)',
|
LOG.warning('Webhook show - Authorization failed (%s)',
|
||||||
id)
|
id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user