Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3752366
D2785.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
378 B
Referenced Files
None
Subscribers
None
D2785.id.diff
View Options
diff --git a/_modules/paas_docker.py b/_modules/paas_docker.py
--- a/_modules/paas_docker.py
+++ b/_modules/paas_docker.py
@@ -51,7 +51,10 @@
def _get_containers():
- return __pillar__["docker_containers"][__grains__["id"]]
+ try:
+ return __pillar__["docker_containers"][__grains__["id"]]
+ except KeyError:
+ return {}
def list_containers():
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 18:36 (10 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250949
Default Alt Text
D2785.id.diff (378 B)
Attached To
Mode
D2785: Support missing docker_containers pillar key
Attached
Detach File
Event Timeline
Log In to Comment