We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f127a9f commit 2d026fdCopy full SHA for 2d026fd
docker/models/networks.py
@@ -22,7 +22,7 @@ def containers(self):
22
"""
23
return [
24
self.client.containers.get(cid) for cid in
25
- self.attrs.get('Containers', {}).keys()
+ (self.attrs.get('Containers') or {}).keys()
26
]
27
28
def connect(self, container):
0 commit comments