fix: find executor node

This commit is contained in:
Roman 2025-06-16 09:38:15 +08:00
parent 6efbb3bf2f
commit 59c4d629b1
No known key found for this signature in database
GPG Key ID: 583BDF43C238B83E

View File

@ -48,7 +48,7 @@ class StepsDataAvailability(StepsCommon):
def find_executor_node(self):
executor = {}
for node in self.main_nodes:
if node.node_type() == NOMOS_EXECUTOR:
if "nomos_executor" in node.node_type():
executor = node
return executor