Merge pull request #1382 from anderbubble/1363-overlay-show-render-fix

Prevent overlays from being improperly used as format strings
This commit is contained in:
Christian Goll
2024-09-06 15:02:05 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- Fixed application of node overlays such that they override overlapping files from profile overlays. #1259
- Prevent overlays from being improperly used as format strings during `wwctl overlay show --render`. #1363
## v4.5.6, 2024-08-05

View File

@@ -113,7 +113,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
wwlog.Info("backupFile: %v\nwriteFile: %v", backupFile, writeFile)
wwlog.Info("Filename: %s\n", destFileName)
}
wwlog.Info(outBuffer.String())
wwlog.Info("%s", outBuffer.String())
}
return nil
}