mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-20 01:01:22 +00:00
Merge pull request #41404 from k82cn/correct_comments
Automatic merge from submit-queue Updated comments for admission/storageclass. Correct comments to reflect fun's feature.
This commit is contained in:
commit
9169eda66a
@ -67,7 +67,7 @@ func (a *claimDefaulterPlugin) SetInternalKubeInformerFactory(f informers.Shared
|
|||||||
a.SetReadyFunc(informer.Informer().HasSynced)
|
a.SetReadyFunc(informer.Informer().HasSynced)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate ensures an authorizer is set.
|
// Validate ensures lister is set.
|
||||||
func (a *claimDefaulterPlugin) Validate() error {
|
func (a *claimDefaulterPlugin) Validate() error {
|
||||||
if a.lister == nil {
|
if a.lister == nil {
|
||||||
return fmt.Errorf("missing lister")
|
return fmt.Errorf("missing lister")
|
||||||
|
Loading…
Reference in New Issue
Block a user