Merge pull request #97167 from geegeea/golint-cleanup-events

Fix golint issues in pkg/credentialprovider/plugin
This commit is contained in:
Kubernetes Prow Robot 2020-12-16 13:04:31 -08:00 committed by GitHub
commit 81e82b8453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}