From 5dc6b402619f652944c17b7829d456897ec4b4d1 Mon Sep 17 00:00:00 2001 From: Kareena Hirani Date: Thu, 3 Jun 2021 00:55:57 -0700 Subject: [PATCH] fix: Fix error check in validation for AnalysisTemplates not found (#1249) Signed-off-by: khhirani Signed-off-by: caoyang001 --- rollout/controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/rollout/controller.go b/rollout/controller.go index 99dfe61dd8..4602946e12 100644 --- a/rollout/controller.go +++ b/rollout/controller.go @@ -667,7 +667,6 @@ func (c *rolloutContext) getReferencedRolloutAnalyses() (*[]validation.AnalysisT for i, step := range canary.Steps { if step.Analysis != nil { templates, err := c.getReferencedAnalysisTemplates(c.rollout, step.Analysis, validation.InlineAnalysis, i) - templates.Args = step.Analysis.Args if err != nil { return nil, err }