Unverified Commit 7cd474f5 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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 ```
parents ed273fc9 6abde54b
......@@ -309,8 +309,8 @@ func (r *crdHandler) removeDeadStorage() {
r.customStorage.Store(storageMap2)
}
// GetCustomResourceListerCollectionDeleter returns the ListerCollectionDeleter for
// the given uid, or nil if an error occurs.
// GetCustomResourceListerCollectionDeleter returns the ListerCollectionDeleter of
// the given crd.
func (r *crdHandler) GetCustomResourceListerCollectionDeleter(crd *apiextensions.CustomResourceDefinition) (finalizer.ListerCollectionDeleter, error) {
info, err := r.getOrCreateServingInfoFor(crd)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment