mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 00:52:55 +00:00
Fix pluginator incompatibility with nolint lines
This commit is contained in:
@@ -22,9 +22,7 @@ type plugin struct {
|
||||
Count int `json:"count,omitempty" yaml:"count,omitempty"`
|
||||
}
|
||||
|
||||
//nolint: golint
|
||||
//noinspection GoUnusedGlobalVariable
|
||||
var KustomizePlugin plugin
|
||||
var KustomizePlugin plugin //nolint:gochecknoglobals
|
||||
|
||||
func (p *plugin) Config(_ *resmap.PluginHelpers, c []byte) error {
|
||||
return yaml.Unmarshal(c, p)
|
||||
|
||||
Reference in New Issue
Block a user