From 0165d077ac36f1b7cca55b1e3e2f1319eee9b5f9 Mon Sep 17 00:00:00 2001 From: Navid Zolghadr Date: Fri, 7 Aug 2020 11:32:26 -0400 Subject: [PATCH] Fix an error formatting in taskrun reconciler --- pkg/reconciler/taskrun/taskrun.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/reconciler/taskrun/taskrun.go b/pkg/reconciler/taskrun/taskrun.go index 19c29f51b17..c5b12318a96 100644 --- a/pkg/reconciler/taskrun/taskrun.go +++ b/pkg/reconciler/taskrun/taskrun.go @@ -376,7 +376,7 @@ func (c *Reconciler) reconcile(ctx context.Context, tr *v1beta1.TaskRun, pod, err = c.createPod(ctx, tr, rtr) if err != nil { newErr := c.handlePodCreationError(ctx, tr, err) - logger.Error("Failed to create task run pod for task %q: %v", tr.Name, newErr) + logger.Errorf("Failed to create task run pod for taskrun %q: %v", tr.Name, newErr) return newErr } go c.timeoutHandler.WaitTaskRun(tr, tr.Status.StartTime)