Skip to content

Commit

Permalink
fix use type not name for processors
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoschmitzky committed Jun 15, 2020
1 parent 5b4b980 commit b261812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dispatch/trixterdispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def dispatch(self, nodes):
template.required_tasks = JobtronautDispatcher.get_required_tasks(hierarchy_node, scriptnode)

for processor_node in JobtronautDispatcher.get_processors(hierarchy_node):
processor = ProcessorDefinitionTemplate(processor_node.getName())
processor = ProcessorDefinitionTemplate(processor_node.getChild("type").getValue())
processor.scope = list(processor_node.getChild("scope").getValue())

processor.parameters = self._get_named_values(processor_node, "parameters", ignore_if_default=True)
Expand Down

0 comments on commit b261812

Please sign in to comment.