Skip to content

Commit

Permalink
TEP-0121: Rewrite metric recorder for TaskRun Retries
Browse files Browse the repository at this point in the history
  • Loading branch information
XinruZhang committed Dec 8, 2022
1 parent a127323 commit a9ed76f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/reconciler/taskrun/taskrun.go
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ func (c *Reconciler) prepare(ctx context.Context, tr *v1beta1.TaskRun) (*v1beta1
// error but it does not sync updates back to etcd. It does not emit events.
// `reconcile` consumes spec and resources returned by `prepare`
func (c *Reconciler) reconcile(ctx context.Context, tr *v1beta1.TaskRun, rtr *resources.ResolvedTaskResources) error {
// TODO: separate start time out.
defer c.durationAndCountMetrics(ctx, tr)
logger := logging.FromContext(ctx)
recorder := controller.GetEventRecorder(ctx)
Expand Down

0 comments on commit a9ed76f

Please sign in to comment.