From ac14a016c40f55f8c2770db2a997770822588f6d Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Thu, 8 May 2014 23:17:48 +0200 Subject: [PATCH] Fix: Remove check for Ghost state This fixed the just committed change handling non existent Ghost state. --- cloud/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/docker b/cloud/docker index 93566c486cc..f9aabf21a93 100644 --- a/cloud/docker +++ b/cloud/docker @@ -524,7 +524,7 @@ class DockerManager: def get_running_containers(self): running = [] for i in self.get_deployed_containers(): - if i['State']['Running'] == True and i['State'].get('Ghost', False): + if i['State']['Running'] == True and i['State'].get('Ghost', False) == False: running.append(i) return running