Skip to content

Commit 512dd42

Browse files
Merge pull request #576 from nlacasse/network-attrs
Fix attr getters in Network Resource
2 parents 0fd4e55 + 0f7d250 commit 512dd42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

podman/domain/networks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def containers(self):
4444
"""list[Container]: Returns list of Containers connected to network."""
4545
with suppress(KeyError):
4646
container_manager = ContainersManager(client=self.client)
47-
return [container_manager.get(ident) for ident in self.attrs["Containers"].keys()]
47+
return [container_manager.get(ident) for ident in self.attrs["containers"].keys()]
4848
return []
4949

5050
@property

0 commit comments

Comments
 (0)