mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Merge pull request #97167 from geegeea/golint-cleanup-events
Fix golint issues in pkg/credentialprovider/plugin
This commit is contained in:
commit
81e82b8453
@ -89,7 +89,6 @@ pkg/controller/volume/persistentvolume
|
|||||||
pkg/controller/volume/persistentvolume/config/v1alpha1
|
pkg/controller/volume/persistentvolume/config/v1alpha1
|
||||||
pkg/controlplane/controller/crdregistration
|
pkg/controlplane/controller/crdregistration
|
||||||
pkg/controlplane/tunneler
|
pkg/controlplane/tunneler
|
||||||
pkg/credentialprovider/plugin
|
|
||||||
pkg/features
|
pkg/features
|
||||||
pkg/kubeapiserver
|
pkg/kubeapiserver
|
||||||
pkg/kubectl/cmd/convert
|
pkg/kubectl/cmd/convert
|
||||||
|
@ -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.
|
// 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
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user