Skip to content

Commit a509665

Browse files
committed
fixup, address fstring review comments
1 parent 0c093ff commit a509665

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/workbenches/notebook-controller/test_spawning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def _get_notebook_image(image_name: str, image_tag: str) -> str:
105105
image_dict = {"jupyter-minimal-notebook": "jupyter-minimal-notebook"}
106106
else:
107107
image_dict = {"jupyter-minimal-notebook": "s2i-minimal-notebook"}
108-
return INTERNAL_IMAGE_REGISTRY_PATH + "/" + controllers_namespace + "/" + image_dict[image_name] + ":" + image_tag
108+
return f"{INTERNAL_IMAGE_REGISTRY_PATH}/{controllers_namespace}/{image_dict[image_name]}:{image_tag}"
109109

110110

111111
def _load_default_notebook(client: DynamicClient, namespace: str, name: str, image: str) -> Notebook:

0 commit comments

Comments
 (0)