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