mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #7350 from discordianfish/remove-ghost-state
Fix: Remove check for Ghost state
This commit is contained in:
commit
7c3dbd3cc6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue