Merge pull request #7350 from discordianfish/remove-ghost-state

Fix: Remove check for Ghost state
pull/7351/head
James Cammarata 11 years ago
commit 7c3dbd3cc6

@ -524,7 +524,7 @@ class DockerManager:
def get_running_containers(self): def get_running_containers(self):
running = [] running = []
for i in self.get_deployed_containers(): 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) running.append(i)
return running return running

Loading…
Cancel
Save