From e1094da3cf3ef9461c617f98fadb4126accbcb28 Mon Sep 17 00:00:00 2001 From: koba1t Date: Sat, 11 Mar 2023 05:11:47 +0900 Subject: [PATCH] skip unrelevant lint --- api/internal/localizer/builtinplugins.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api/internal/localizer/builtinplugins.go b/api/internal/localizer/builtinplugins.go index df46bca6c..c9f48c7c3 100644 --- a/api/internal/localizer/builtinplugins.go +++ b/api/internal/localizer/builtinplugins.go @@ -131,6 +131,7 @@ func (lbp *localizeBuiltinPlugins) localizeAll(node *yaml.RNode) error { // We rely on the build command to throw errors for nodes in // built-in plugins that are sequences when expected to be scalar, // and vice versa. + //nolint: exhaustive switch node.YNode().Kind { case yaml.SequenceNode: return errors.Wrap(node.VisitElements(lbp.localizeScalar))