mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 07:06:30 +00:00
fix addon name
This commit is contained in:
parent
e25d30af52
commit
e2bf267713
@ -24,7 +24,7 @@ class DockerAddon(DockerBase):
|
|||||||
@property
|
@property
|
||||||
def docker_name(self):
|
def docker_name(self):
|
||||||
"""Return name of docker container."""
|
"""Return name of docker container."""
|
||||||
return self.addons_data.get_image(self.addon)
|
return "addon_{}".format(self.addons_data.get_slug(self.addon))
|
||||||
|
|
||||||
def _run(self):
|
def _run(self):
|
||||||
"""Run docker image.
|
"""Run docker image.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user