Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Yee Hing Tong committed May 11, 2020
1 parent 704dc5e commit 27a0ed3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/controller/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 27a0ed3

Please sign in to comment.