Update use of wwlog.Info to specify a format string
Since wwlog.Info() expect a format string, accidental inclusion of a format string in the payload causes an error. See also #1382, #1363 Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -45,7 +45,7 @@ func CobraRunE(vars *variables) func(cmd *cobra.Command, args []string) (err err
|
||||
ph.Append(strings.Split(val, ":=:"))
|
||||
}
|
||||
ph.Render()
|
||||
wwlog.Info(ph.String())
|
||||
wwlog.Info("%s", ph.String())
|
||||
}
|
||||
}
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user