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.
2 parents 55ef7ac + 2d026fd commit bd84bebCopy full SHA for bd84beb
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