Skip to content

Commit b2740ec

Browse files
committed
make lint happy
1 parent ed6188c commit b2740ec

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

clab_connector/services/status/node_sync_checker.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,16 @@ def list_available_namespaces(self) -> list[str]:
563563
)
564564

565565
if data:
566-
return extract_k8s_names(data, lambda name: name.startswith("clab-"))
566+
namespaces = extract_k8s_names(
567+
data, lambda name: name.startswith("clab-")
568+
)
569+
if endpoint:
570+
logger.info(
571+
"Found %d clab namespaces via endpoint %s",
572+
len(namespaces),
573+
endpoint,
574+
)
575+
return namespaces
567576

568577
return []
569578

0 commit comments

Comments
 (0)