mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-22 08:36:30 +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:
|
||||
return False
|
||||
|
||||
# Check of correct state
|
||||
if docker_container.status not in ("exited", "running", "created"):
|
||||
return False
|
||||
|
||||
return True
|
||||
|
Loading…
x
Reference in New Issue
Block a user