From dcaeaeb6d62eda5730049d9875b859471f59b7ea Mon Sep 17 00:00:00 2001 From: restitux Date: Thu, 4 May 2023 20:27:14 -0600 Subject: [PATCH] Fix pipeline executor logging to use Infof --- pipeline_executor/pipeline_executor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline_executor/pipeline_executor.go b/pipeline_executor/pipeline_executor.go index 84690bc..3f8cbeb 100644 --- a/pipeline_executor/pipeline_executor.go +++ b/pipeline_executor/pipeline_executor.go @@ -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()