From 0f7d250c701295d751bfad2f906207cc7dbc34d8 Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Wed, 27 Aug 2025 17:21:19 +0000 Subject: [PATCH] Fix container attr getter in Network Resource Fixes #527 Signed-off-by: Nicolas Lacasse --- podman/domain/networks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/podman/domain/networks.py b/podman/domain/networks.py index 98bd094b..ac25dad6 100644 --- a/podman/domain/networks.py +++ b/podman/domain/networks.py @@ -44,7 +44,7 @@ def containers(self): """list[Container]: Returns list of Containers connected to network.""" with suppress(KeyError): container_manager = ContainersManager(client=self.client) - return [container_manager.get(ident) for ident in self.attrs["Containers"].keys()] + return [container_manager.get(ident) for ident in self.attrs["containers"].keys()] return [] @property