Fix pipeline executor logging to use Infof

This commit is contained in:
2023-05-04 20:27:14 -06:00
parent 32a86ace9f
commit dcaeaeb6d6
+2 -2
View File
@@ -101,7 +101,7 @@ func ExecutePipeline(pe PipelineExecution, db database.Database, pipelineConf co
log.Errorf("%v: could not create docker client: %w", idStr, err)
return
}
log.Info("%v: source cloned successfully", idStr)
log.Infof("%v: source cloned successfully", idStr)
ctx := context.Background()
@@ -131,7 +131,7 @@ func ExecutePipeline(pe PipelineExecution, db database.Database, pipelineConf co
}
log.Debugf("%v: job source tarred", idStr)
log.Info("%v: building container", idStr)
log.Infof("%v: building container", idStr)
dockerBuildContext, err := os.Open(tarFile)
defer dockerBuildContext.Close()