Skip to content

Commit d97a2c6

Browse files
committed
Fix image->image_name in error message
Signed-off-by: Brett T. Warden <bwarden@qti.qualcomm.com>
1 parent c676d13 commit d97a2c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker_rpm_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def build_docker_image(arch: str, distro: str) -> bool:
253253
logger.debug(f"Building docker image '{image_name}' for arch '{arch}' from Dockerfile: {dockerfile_path}")
254254

255255
if not os.path.exists(dockerfile_path):
256-
logger.error(f"No local Dockerfile found for arch '{arch}' at expected path: {dockerfile_path}. Cannot build image '{image}'.")
256+
logger.error(f"No local Dockerfile found for arch '{arch}' at expected path: {dockerfile_path}. Cannot build image '{image_name}'.")
257257
return False
258258

259259
build_cmd = ["docker", "build", "-t", image_name, "-f", dockerfile_path, docker_dir]

0 commit comments

Comments
 (0)