1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +00:00

Add support for arch in custom image name

This commit is contained in:
Pascal Vizeli
2017-04-28 01:07:54 +02:00
parent 9109e3803b
commit a9b4174590

View File

@@ -231,7 +231,7 @@ class AddonsData(Config):
if ATTR_IMAGE not in addon_data:
return "{}/{}-addon-{}".format(DOCKER_REPO, self.arch, addon)
return addon_data[ATTR_IMAGE]
return addon_data[ATTR_IMAGE].format(arch=self.arch)
def map_config(self, addon):
"""Return True if config map is needed."""