Skip to content

Commit 6bdbdb7

Browse files
committed
Fix lint task in CI
The lint task was failing at head, due to a nolint:exhaustive error directive that golangci nolintlint believes is unused. Issue seems to be golangci/golangci-lint#3228 and seems to be a bug in golang-ci / nolintlint.
1 parent ce3e394 commit 6bdbdb7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

api/internal/builtins/HelmChartInflationGenerator.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/internal/localizer/builtinplugins.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ func (lbp *localizeBuiltinPlugins) localizeAll(node *yaml.RNode) error {
131131
// We rely on the build command to throw errors for nodes in
132132
// built-in plugins that are sequences when expected to be scalar,
133133
// and vice versa.
134-
//nolint: exhaustive
135134
switch node.YNode().Kind {
136135
case yaml.SequenceNode:
137136
return errors.Wrap(node.VisitElements(lbp.localizeScalar))

0 commit comments

Comments
 (0)