daemon: small cleanup in distributed start

This commit is contained in:
Blake Harnden 2023-04-11 10:09:40 -07:00
parent 2eb29525de
commit cafbb15b1e

View file

@ -187,8 +187,7 @@ class DistributedController:
:return: nothing :return: nothing
""" """
mtu = self.session.options.get_int("mtu") mtu = self.session.options.get_int("mtu")
for node_id in self.session.nodes: for node in self.session.nodes.values():
node = self.session.nodes[node_id]
if not isinstance(node, CtrlNet) or node.serverintf is not None: if not isinstance(node, CtrlNet) or node.serverintf is not None:
continue continue
for name in self.servers: for name in self.servers: