From 27a0ed3d10a3d51445f4f236442f71620dccc594 Mon Sep 17 00:00:00 2001 From: Yee Hing Tong Date: Mon, 11 May 2020 16:54:00 -0700 Subject: [PATCH] nits --- pkg/controller/handler.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/controller/handler.go b/pkg/controller/handler.go index 6ef2d123e..08a0a7f90 100644 --- a/pkg/controller/handler.go +++ b/pkg/controller/handler.go @@ -105,10 +105,9 @@ func (p *Propeller) Handle(ctx context.Context, namespace, name string) error { wfDeepCopy := w.DeepCopy() t.Stop() ctx = contextutils.WithWorkflowID(ctx, wfDeepCopy.GetID()) - if execId := wfDeepCopy.GetExecutionID(); execId.WorkflowExecutionIdentifier != nil { + if execID := wfDeepCopy.GetExecutionID(); execID.WorkflowExecutionIdentifier != nil { ctx = contextutils.WithProjectDomain(ctx, wfDeepCopy.GetExecutionID().Project, wfDeepCopy.GetExecutionID().Domain) } - ctx = contextutils.WithResourceVersion(ctx, wfDeepCopy.GetResourceVersion()) maxRetries := uint32(p.cfg.MaxWorkflowRetries)