From cafbb15b1e7f9b3b87376c40b039227699c3d43b Mon Sep 17 00:00:00 2001 From: Blake Harnden <32446120+bharnden@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:09:40 -0700 Subject: [PATCH] daemon: small cleanup in distributed start --- daemon/core/emulator/distributed.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/daemon/core/emulator/distributed.py b/daemon/core/emulator/distributed.py index 1d09ce1e..8ef80dea 100644 --- a/daemon/core/emulator/distributed.py +++ b/daemon/core/emulator/distributed.py @@ -187,8 +187,7 @@ class DistributedController: :return: nothing """ mtu = self.session.options.get_int("mtu") - for node_id in self.session.nodes: - node = self.session.nodes[node_id] + for node in self.session.nodes.values(): if not isinstance(node, CtrlNet) or node.serverintf is not None: continue for name in self.servers: