From ea71c0c317850dcccdce35a610a03a8947f2b56b 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. --- library/cloud/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/cloud/docker b/library/cloud/docker index 93566c486c..f9aabf21a9 100644 --- a/library/cloud/docker +++ b/library/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