change message level from warn to debug

Signed-off-by: jason yang <jasonyangshadow@gmail.com>
This commit is contained in:
jason yang
2024-01-16 03:54:38 +00:00
committed by Jonathon Anderson
parent 69e9cf7e85
commit 8f7b8b641b
2 changed files with 2 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
will generate an error #474
- Create `/etc/systemd/network/10-persistent-net-<netdev>.link` file per network device
- Fix the issue that the same tag added in `node set` is ignored. #967
- Change too-verbose warning message level from `Warn` to `Debug`. #1025
### Changed

View File

@@ -43,7 +43,7 @@ func OverlayImage(nodeName string, context string, overlayNames []string) string
var name string
if context != "" {
if len(overlayNames) > 0 {
wwlog.Warn("context(%v) and overlays(%v) specified: prioritizing context(%v)",
wwlog.Debug("context(%v) and overlays(%v) specified: prioritizing context(%v)",
context, overlayNames, context)
}
name = "__" + strings.ToUpper(context) + "__.img"