Skip to content

Commit

Permalink
Defer processor loading until runtimes are determined
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Chin <akchin@us.ibm.com>
  • Loading branch information
akchinSTC committed Mar 31, 2023
1 parent 9c417d2 commit ffdd833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elyra/pipeline/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def __init__(self, **kwargs):
for processor in entrypoints.get_group_all("elyra.pipeline.processors"):
try:
# instantiate an actual instance of the processor
processor_instance = processor.load()(root_dir=self.root_dir, parent=kwargs.get("parent"))
if not self.runtimes or processor.name in self.runtimes:
processor_instance = processor.load()(root_dir=self.root_dir, parent=kwargs.get("parent"))
self._add_processor(processor_instance)
else:
self.log.info(
Expand Down

0 comments on commit ffdd833

Please sign in to comment.