Add bit more logging around MachineNode loading

This commit is contained in:
Jaime van Kessel 2020-07-20 16:03:06 +02:00
parent 527e5775a7
commit f948b7c4fc
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -171,7 +171,7 @@ class ContainerTree:
The ``JobQueue`` will schedule this on a different thread.
"""
Logger.log("d", "Started background loading of MachineNodes")
for stack in self.container_stacks: # Load all currently-added containers.
if not isinstance(stack, GlobalStack):
continue
@ -182,3 +182,4 @@ class ContainerTree:
definition_id = stack.definition.getId()
if not self.tree_root.machines.is_loaded(definition_id):
_ = self.tree_root.machines[definition_id]
Logger.log("d", "All MachineNode loading completed")