Fix: Remove check for Ghost state

This fixed the just committed change handling non existent Ghost state.
pull/7527/head
Johannes 'fish' Ziemke 12 years ago committed by James Cammarata
parent 595813a1fe
commit 3565249471

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

Loading…
Cancel
Save