outposts: rename docker_image_base to container_image_base, since its not docker specific

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-10-14 19:57:56 +02:00
parent 0c55eea678
commit 5f9dda2e58
6 changed files with 6 additions and 6 deletions

View File

@ -72,7 +72,7 @@ class BaseController:
if self.outpost.config.container_image is not None:
return self.outpost.config.container_image
image_name_template: str = CONFIG.y("outposts.docker_image_base")
image_name_template: str = CONFIG.y("outposts.container_image_base")
return image_name_template % {
"type": self.outpost.type,
"version": __version__,

View File

@ -92,7 +92,7 @@ class DockerController(BaseController):
def try_pull_image(self):
"""Try to pull the image needed for this outpost based on the CONFIG
`outposts.docker_image_base`, but fall back to known-good images"""
`outposts.container_image_base`, but fall back to known-good images"""
image = self.get_container_image()
try:
self.client.images.pull(image)