Commit 3287cfd4 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: drop comment

and fix wrong usage of Base_reindexAndSenseAlarm
parent 64d94430
instance = state_change['object']
partition = instance.getAggregateValue()
if (partition is not None) and (partition.getParentValue().getPortalType() == 'Remote Node'):
partition.Base_reindexAndSenseAlarm(['slapos_cloud_propagate_remote_node_instance'], extra_reindex_object_list=[instance])
#instance.Base_reindexAndSenseAlarm(['slapos_cloud_propagate_remote_node_instance'])
partition.Base_reindexAndSenseAlarm(['slapos_cloud_propagate_remote_node_instance'])
......@@ -8,4 +8,3 @@ if partition is not None:
active_object.Base_reindexAndSenseAlarm(['slapos_cloud_propagate_remote_node_instance'])
else:
active_object.reindexObject()
#instance.Base_reindexAndSenseAlarm(['slapos_cloud_propagate_remote_node_instance'])
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