Merge pull request #4893 from KnVerey/pluginator-linter-bug

Fix pluginator incompatibility with nolint lines
This commit is contained in:
Kubernetes Prow Robot
2022-11-30 08:32:55 -08:00
committed by GitHub
27 changed files with 54 additions and 87 deletions

View File

@@ -19,8 +19,7 @@ type plugin struct {
Patches string `json:"patches,omitempty" yaml:"patches,omitempty"`
}
//noinspection GoUnusedGlobalVariable
var KustomizePlugin plugin
var KustomizePlugin plugin //nolint:gochecknoglobals
func (p *plugin) Config(
h *resmap.PluginHelpers, c []byte) (err error) {