Fix: Remove check for Ghost state

This fixed the just committed change handling non existent Ghost state.
This commit is contained in:
Johannes 'fish' Ziemke 2014-05-08 23:17:48 +02:00
parent b5ba1c4527
commit ac14a016c4

View file

@ -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