outposts: fix formatting of image name
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
333758d91f
commit
3e666de91d
|
@ -61,6 +61,4 @@ class BaseController:
|
||||||
def get_container_image(self) -> str:
|
def get_container_image(self) -> str:
|
||||||
"""Get container image to use for this outpost"""
|
"""Get container image to use for this outpost"""
|
||||||
image_name_template: str = CONFIG.y("outposts.docker_image_base")
|
image_name_template: str = CONFIG.y("outposts.docker_image_base")
|
||||||
return image_name_template.format(
|
return image_name_template % {"type": self.outpost.type, "version": __version__}
|
||||||
{"type": self.outpost.type, "version": __version__}
|
|
||||||
)
|
|
||||||
|
|
Reference in New Issue