Fixed a variable name collision caused by two PR merges

Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
pull/8681/head
Matt Butcher 5 years ago
parent 70d03e5cef
commit b7935ede8d
No known key found for this signature in database
GPG Key ID: DCD5F5E5EF32C345

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

Loading…
Cancel
Save