Commit 632234f4 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_configurator: Ensure portal_alarms is subscribed

parent 54c0afdf
...@@ -9,3 +9,6 @@ with context.portal_activities.defaultActivateParameterDict({}, placeless=True): ...@@ -9,3 +9,6 @@ with context.portal_activities.defaultActivateParameterDict({}, placeless=True):
context.ERP5Site_checkUpgraderConsistency(fixit=1, context.ERP5Site_checkUpgraderConsistency(fixit=1,
active_process=active_process, active_process=active_process,
filter_dict={"constraint_type": "post_upgrade"}) filter_dict={"constraint_type": "post_upgrade"})
if not context.portal_alarms.isSubscribed():
context.portal_alarms.subscribe()
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