Commit 46961394 authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: Remote Node does not have monitor_scope category

parent 6c63d960
...@@ -32,6 +32,7 @@ for instance in software_instance_list: ...@@ -32,6 +32,7 @@ for instance in software_instance_list:
if compute_partition is None: if compute_partition is None:
notification_message_reference = 'slapos-crm-instance-tree-instance-allocation.notification' notification_message_reference = 'slapos-crm-instance-tree-instance-allocation.notification'
elif (instance.getPortalType() == "Software Instance") and \ elif (instance.getPortalType() == "Software Instance") and \
(compute_partition.getParentValue().getPortalType() == "Compute Node") and \
(compute_partition.getParentValue().getMonitorScope() == "enabled") and \ (compute_partition.getParentValue().getMonitorScope() == "enabled") and \
instance.SoftwareInstance_hasReportedError(tolerance=30): instance.SoftwareInstance_hasReportedError(tolerance=30):
......
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