Fix golint issues in pkg/credentialprovider/plugin

This commit is contained in:
Gurleen Grewal 2020-12-08 15:11:44 -08:00
parent d267d6f29b
commit 7a0b5acf00
2 changed files with 1 additions and 2 deletions

View File

@ -89,7 +89,6 @@ pkg/controller/volume/persistentvolume
pkg/controller/volume/persistentvolume/config/v1alpha1
pkg/controlplane/controller/crdregistration
pkg/controlplane/tunneler
pkg/credentialprovider/plugin
pkg/features
pkg/kubeapiserver
pkg/kubectl/cmd/convert

View File

@ -252,7 +252,7 @@ func (p *pluginProvider) Provide(image string) credentialprovider.DockerConfig {
}
// Enabled always returns true since registration of the plugin via kubelet implies it should be enabled.
func (e *pluginProvider) Enabled() bool {
func (p *pluginProvider) Enabled() bool {
return true
}