mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 02:56:31 +00:00
Fix detection of HA container / image (#1290)
This commit is contained in:
parent
a12567d0a8
commit
8df35ab488
@ -127,7 +127,9 @@ class DockerHomeAssistant(DockerInterface):
|
|||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
docker_container = self.sys_docker.containers.get(self.name)
|
docker_container = self.sys_docker.containers.get(self.name)
|
||||||
docker_image = self.sys_docker.images.get(self.image)
|
docker_image = self.sys_docker.images.get(
|
||||||
|
f"{self.image}:{self.sys_homeassistant.version}"
|
||||||
|
)
|
||||||
except docker.errors.DockerException:
|
except docker.errors.DockerException:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user