Fixed a variable name collision caused by two PR merges (#8681)

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
pull/8682/head
Matt Butcher 5 years ago committed by GitHub
parent 70d03e5cef
commit 04fb35814f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -124,7 +124,7 @@ func Templates(linter *support.Linter, values map[string]interface{}, namespace
renderedContent := renderedContentMap[path.Join(chart.Name(), fileName)] renderedContent := renderedContentMap[path.Join(chart.Name(), fileName)]
if strings.TrimSpace(renderedContent) != "" { if strings.TrimSpace(renderedContent) != "" {
linter.RunLinterRule(support.WarningSev, path, validateTopIndentLevel(renderedContent)) linter.RunLinterRule(support.WarningSev, fpath, validateTopIndentLevel(renderedContent))
var yamlStruct K8sYamlStruct var yamlStruct K8sYamlStruct
// Even though K8sYamlStruct only defines a few fields, an error in any other // Even though K8sYamlStruct only defines a few fields, an error in any other
// key will be raised as well // key will be raised as well

Loading…
Cancel
Save