Skip to content

Commit

Permalink
podman: typofix in error-message
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup authored and xsuchy committed Dec 19, 2024
1 parent 9f0247c commit b23e054
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mock/py/mockbuild/podman.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _podman_query(cmd):
image_arch = _podman_query(image_check_cmd)
if system_arch != image_arch:
logger.error("Image architecture %s doesn't match system arch %s",
system_arch, image_arch)
image_arch, system_arch)
return False
except subprocess.SubprocessError as exc:
logger.error("Subprocess failed: %s", exc)
Expand Down
3 changes: 3 additions & 0 deletions releng/release-notes-next/podman-arch-check.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The error message in podman_check_native_image_architecture() method has been
fixed to correctly what is the expected (system) architecture, and what is the
image architecture.

0 comments on commit b23e054

Please sign in to comment.