Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybart1337 committed Dec 13, 2023
1 parent ec8cc61 commit f024cb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions agent/worker/task_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,19 +261,19 @@ def read_dockerimage_from_config(self):
self.info["docker_image"] = self.app_config["docker_image"]
if constants.APP_DEBUG_DOCKER_IMAGE() is not None:
self.logger.info(
"APP DEBUG MODE: docker image {!r} is replaced to {!r}".format(
"APP DEBUG MODE: docker image {!r} is replaced with {!r}".format(
self.info["docker_image"], constants.APP_DEBUG_DOCKER_IMAGE()
)
)
self.info["docker_image"] = constants.APP_DEBUG_DOCKER_IMAGE()
if constants.SLY_APPS_DOCKER_REGISTRY() is not None:
self.logger.info(
"NON DEFAULT DOCKER REGISTRY: docker image {!r} is replaced to {!r}".format(
"NON DEFAULT DOCKER REGISTRY: docker image {!r} is replaced with {!r}".format(
self.info["docker_image"], f"{constants.SLY_APPS_DOCKER_REGISTRY()}/{self.info['docker_image']}"
)
)
self.info["docker_image"] = f"{constants.SLY_APPS_DOCKER_REGISTRY()}/{self.info['docker_image']}"

except KeyError as e:
requirements_path = self.get_requirements_path()
version = "latest"
Expand Down

0 comments on commit f024cb3

Please sign in to comment.