osbuild-worker: unify logging statements
The code previously used both fmt.Printf and log.Printf. Simplify this by using log.Printf everywhere.
This commit is contained in:
parent
a3d80cc924
commit
34d165be6c
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ func osbuildStagesToRPMs(stages []osbuild.StageResult) []koji.RPM {
|
|||
|
||||
func appendTargetError(res *worker.OSBuildJobResult, err error) {
|
||||
errStr := err.Error()
|
||||
fmt.Printf("target errored: %s", errStr)
|
||||
log.Printf("target errored: %s", errStr)
|
||||
res.TargetErrors = append(res.TargetErrors, errStr)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue