This commit is contained in:
2025-08-21 20:14:51 +02:00
parent c52bcd7e09
commit 0c5058adbe
+1 -1
View File
@@ -107,7 +107,7 @@ class DockerSwarmCheck(AbstractStep[Dict[str, DockerSwarmCheckResult]]):
attrs = client.services.get(svc.id).attrs
name = attrs["Spec"]["Name"].replace(self.stack_name + "_", "")
if attrs["Spec"]["Labels"].get("com.docker.stack.namespace", "") == self.stack_name:
logger.info(f"Service {svc.name} is running with image {attrs}")
# logger.info(f"Service {svc.name} is running with image {attrs}")
current_services[name] = DockerSwarmCheckResult(
name = name,
image = attrs["Spec"]["Labels"].get("com.docker.stack.image", ""),