From fa32dabdc0a5a74469a0e86e04b9868508503a73 Mon Sep 17 00:00:00 2001 From: Saravanan Balasubramanian <33908564+sarabala1979@users.noreply.github.com> Date: Fri, 4 Oct 2019 13:59:18 -0700 Subject: [PATCH] Fix missing merged changes in validate.go (#1647) --- workflow/validate/validate.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/workflow/validate/validate.go b/workflow/validate/validate.go index ab508de706de..f38e61a9960c 100644 --- a/workflow/validate/validate.go +++ b/workflow/validate/validate.go @@ -874,8 +874,6 @@ func (ctx *templateValidationCtx) validateDAG(scope map[string]interface{}, tmpl // Verify dependencies for all tasks can be resolved as well as template names for _, task := range tmpl.DAG.Tasks { resolvedTmpl, err := ctx.validateTemplateHolder(&task, tmplCtx, &FakeArguments{}, map[string]interface{}{}) - prefix := fmt.Sprintf("tasks.%s", task.Name) - ctx.addOutputsToScope(resolvedTmpl, prefix, scope, false) if err != nil { return errors.Errorf(errors.CodeBadRequest, "templates.%s.tasks.%s %s", tmpl.Name, task.Name, err.Error()) }