Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED
  • Loading branch information
gabemontero committed Feb 26, 2024
1 parent 6b60d3e commit acb0b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/watcher/reconciler/dynamic/dynamic.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ func (r *Reconciler) getPodLogs(ctx context.Context, ns, pod, container, labelKe
stepName := strings.TrimPrefix(container, "step-")
s = fmt.Sprintf("[%s : %s] %s", task, stepName, string(line))
if labelKey == pipeline.TaskRunLabelKey {
s = fmt.Sprintf("[%s] %s", container, string(line))
s = fmt.Sprintf("[%s] %s", stepName, string(line))
}
logger.Infow("GGM readLine formatted line",
zap.String("line", s))
Expand Down

0 comments on commit acb0b78

Please sign in to comment.