Page MenuHomeDevCentral

D2785.id.diff
No OneTemporary

D2785.id.diff

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

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)

Event Timeline