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

Fix: Remove check for Ghost state
This commit is contained in:
James Cammarata
2014-05-09 13:15:26 -05:00

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