From 834007bd4f095c8360a6cae5ffe33ce8a254b144 Mon Sep 17 00:00:00 2001 From: thl-cmk <65558014+thl-cmk@users.noreply.github.com> Date: Fri, 28 Nov 2025 13:53:54 +0100 Subject: [PATCH] get all layer ids get all layer ids, not only fro the default directory --- cmk/gui/nodevis/topology.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmk/gui/nodevis/topology.py b/cmk/gui/nodevis/topology.py index 1df24a4051b..c4bfcc13d28 100644 --- a/cmk/gui/nodevis/topology.py +++ b/cmk/gui/nodevis/topology.py @@ -1768,7 +1768,9 @@ def _dynamic_network_data_id(layer_id: str) -> str: def _get_dynamic_layer_ids( topology_configuration: TopologyConfiguration | None = None, ) -> list[str]: - check_folders = {"default"} + check_folders = set( + str(path) for path in Path(topology_data_dir).glob("*") if Path(path).is_dir() + ) if topology_configuration: check_folders.add(topology_configuration.frontend.datasource_configuration.reference) check_folders.add(topology_configuration.frontend.datasource_configuration.compare_to)