mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-23 00:56:29 +00:00
Fix initialized state on dead/removing/pause containers (#2197)
This commit is contained in:
parent
37eaaf356d
commit
7b721ad8c6
@ -185,4 +185,8 @@ class DockerHomeAssistant(DockerInterface):
|
|||||||
if docker_container.image.id != docker_image.id:
|
if docker_container.image.id != docker_image.id:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
# Check of correct state
|
||||||
|
if docker_container.status not in ("exited", "running", "created"):
|
||||||
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user