Commit 5336dc26 authored by Rafael Monnerat's avatar Rafael Monnerat

Fix Typo on promise alarm script

 Ignore alarm if promise is not defined (not the contrary).
parent 24905f77
...@@ -56,7 +56,7 @@ portal = context.getPortalObject()\n ...@@ -56,7 +56,7 @@ portal = context.getPortalObject()\n
\n \n
portal_certificate_authority = getattr(portal, \'portal_certificate_authority\', None)\n portal_certificate_authority = getattr(portal, \'portal_certificate_authority\', None)\n
promise_ca_path = portal.getPromiseParameter(\'portal_certificate_authority\', \'certificate_authority_path\')\n promise_ca_path = portal.getPromiseParameter(\'portal_certificate_authority\', \'certificate_authority_path\')\n
if promise_ca_path is not None:\n if promise_ca_path is None:\n
severity = 0\n severity = 0\n
summary = "Nothing to do."\n summary = "Nothing to do."\n
detail = ""\n detail = ""\n
......
19 20
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment