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