Skip to content

Commit

Permalink
Signed-off-by: tooptoop4 <[email protected]>
Browse files Browse the repository at this point in the history
  • Loading branch information
tooptoop4 authored Nov 4, 2024
1 parent 13b612e commit 32781ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/templateresolution/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (ctx *Context) GetTemplate(h wfv1.TemplateReferenceHolder) (*wfv1.Template,
return true, nil
})
if err != nil {
return nil, errors.Errorf(errors.CodeInternal, err)
return nil, err
}
return tmpl, nil
}
Expand All @@ -187,7 +187,7 @@ func (ctx *Context) GetTemplate(h wfv1.TemplateReferenceHolder) (*wfv1.Template,
return true, nil
})
if err != nil {
return nil, errors.Errorf(errors.CodeInternal, err)
return nil, err
}
return tmpl, nil
}
Expand Down

0 comments on commit 32781ea

Please sign in to comment.