lib/orchestrator/system.rb in orchestrator-1.0.2 vs lib/orchestrator/system.rb in orchestrator-1.0.3
- old
+ new
@@ -41,9 +41,17 @@
@zones = []
@config.zones.each do |zone_id|
zone = zones[zone_id]
@zones << zone unless zone.nil?
end
+
+ # Inform status tracker that that the system has reloaded
+ # There may have been a change in module order etc
+ @controller.threads.each do |thread|
+ thread.next_tick do
+ thread.observer.reloaded_system(@config.id, self)
+ end
+ end
end
def get(mod, index)
mods = @modules[mod]
if mods