mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-29 17:41:13 +00:00
Update golinter to 1.17.1
This commit is contained in:
@@ -35,7 +35,7 @@ func (p *plugin) makePrefixSuffixPluginConfig() ([]byte, error) {
|
||||
}
|
||||
|
||||
func (p *plugin) Config(
|
||||
ldr ifc.Loader, rf *resmap.Factory, c []byte) error {
|
||||
ldr ifc.Loader, rf *resmap.Factory, _ []byte) error {
|
||||
// Ignore the incoming c, compute new config.
|
||||
c, err := p.makePrefixSuffixPluginConfig()
|
||||
if err != nil {
|
||||
|
||||
@@ -36,7 +36,7 @@ spec:
|
||||
`
|
||||
|
||||
func (p *plugin) Config(
|
||||
ldr ifc.Loader, rf *resmap.Factory, config []byte) error {
|
||||
_ ifc.Loader, rf *resmap.Factory, config []byte) error {
|
||||
p.rf = rf
|
||||
return yaml.Unmarshal(config, p)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user