Properly pass format argument to avoid MISSING (#290)

#273
This commit is contained in:
Josh Soref authored and GitHub committed 2020-06-24 07:05:05 -07:00
1 parent 7cc668707b
commit 64b8d2afa4
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -61,9 +61,9 @@ func (rc *RunContext) startJobContainer() common.Executor {
rawLogger := common.Logger(ctx).WithField("raw_output", true)
logWriter := common.NewLineWriter(rc.commandHandler(ctx), func(s string) bool {
if rc.Config.LogOutput {
rawLogger.Infof(s)
rawLogger.Infof("%s", s)
} else {
rawLogger.Debugf(s)
rawLogger.Debugf("%s", s)
}
return true
})
+2 -2
View File
@@ -141,9 +141,9 @@ func (sc *StepContext) newStepContainer(ctx context.Context, image string, cmd [
rawLogger := common.Logger(ctx).WithField("raw_output", true)
logWriter := common.NewLineWriter(rc.commandHandler(ctx), func(s string) bool {
if rc.Config.LogOutput {
rawLogger.Infof(s)
rawLogger.Infof("%s", s)
} else {
rawLogger.Debugf(s)
rawLogger.Debugf("%s", s)
}
return true
})