This commit is contained in:
thomashaw
2022-02-03 20:25:45 +00:00
parent 39b24ce3c9
commit 411a724ee3

View File

@@ -78,7 +78,9 @@ class XmlAlertActionConfigGenerator
@alert_actions = @alert_actions + get_web_alertactions(aa_conf, system.name, system.goals, $datastore['goal_flags'], system.hostname, auto_grader_hostname)
end
system.module_selections.each do |module_selection|
@alert_actions = @alert_actions + get_web_alertactions(aa_conf, module_selection.module_path_end, module_selection.goals, module_selection.received_inputs['goal_flags'], system.hostname, auto_grader_hostname)
if module_selection.goals and module_selection.received_inputs['goal_flags']
@alert_actions = @alert_actions + get_web_alertactions(aa_conf, module_selection.module_path_end, module_selection.goals, module_selection.received_inputs['goal_flags'], system.hostname, auto_grader_hostname)
end
end
end
end