mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #58914 from hzxuzhonghu/customresource_handler
Automatic merge from submit-queue (batch tested with PRs 58914, 58933). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix GetCustomResourceListerCollectionDeleter comments **What this PR does / why we need it**: fix https://github.com/kubernetes/kubernetes/pull/58688#discussion_r163865115 **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
7cd474f524
@ -309,8 +309,8 @@ func (r *crdHandler) removeDeadStorage() {
|
|||||||
r.customStorage.Store(storageMap2)
|
r.customStorage.Store(storageMap2)
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetCustomResourceListerCollectionDeleter returns the ListerCollectionDeleter for
|
// GetCustomResourceListerCollectionDeleter returns the ListerCollectionDeleter of
|
||||||
// the given uid, or nil if an error occurs.
|
// the given crd.
|
||||||
func (r *crdHandler) GetCustomResourceListerCollectionDeleter(crd *apiextensions.CustomResourceDefinition) (finalizer.ListerCollectionDeleter, error) {
|
func (r *crdHandler) GetCustomResourceListerCollectionDeleter(crd *apiextensions.CustomResourceDefinition) (finalizer.ListerCollectionDeleter, error) {
|
||||||
info, err := r.getOrCreateServingInfoFor(crd)
|
info, err := r.getOrCreateServingInfoFor(crd)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user