Skip to content

Commit

Permalink
Fix global lint issue (argoproj#1641)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabala1979 authored and jessesuen committed Oct 4, 2019
1 parent bb57913 commit 4b84f97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workflow/validate/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,8 @@ func (ctx *templateValidationCtx) validateDAG(scope map[string]interface{}, tmpl
if err != nil {
return errors.Errorf(errors.CodeBadRequest, "templates.%s.tasks.%s %s", tmpl.Name, task.Name, err.Error())
}
prefix := fmt.Sprintf("tasks.%s", task.Name)
ctx.addOutputsToScope(resolvedTmpl, prefix, scope, false)
resolvedTemplates[task.Name] = resolvedTmpl
dupDependencies := make(map[string]bool)
for j, depName := range task.Dependencies {
Expand Down

0 comments on commit 4b84f97

Please sign in to comment.