Format errors in logs as strings

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-11-23 22:44:36 -07:00
parent 470fb323eb
commit 5834b82f93
4 changed files with 4 additions and 3 deletions

View File

@@ -398,7 +398,7 @@ func ContainerRename(crp *wwapiv1.ContainerRenameParameter) (err error) {
err = container.DeleteImage(crp.ContainerName)
if err != nil {
wwlog.Warn("Could not remove image files for %s: %w", crp.ContainerName, err)
wwlog.Warn("Could not remove image files for %s: %s", crp.ContainerName, err)
}
if crp.Build {