Skip to content

Commit

Permalink
Fixed a variable name collision caused by two PR merges (#8681)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Butcher <matt.butcher@microsoft.com>
  • Loading branch information
technosophos committed Sep 1, 2020
1 parent 70d03e5 commit 04fb358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/lint/rules/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04fb358

Please sign in to comment.