Fix initialized state on dead/removing/pause containers (#2197)

This commit is contained in:
Pascal Vizeli 2020-10-30 16:16:07 +01:00 committed by GitHub
parent 37eaaf356d
commit 7b721ad8c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,4 +185,8 @@ class DockerHomeAssistant(DockerInterface):
if docker_container.image.id != docker_image.id:
return False
# Check of correct state
if docker_container.status not in ("exited", "running", "created"):
return False
return True