Commit 6abde54b authored by hzxuzhonghu's avatar hzxuzhonghu

fix GetCustomResourceListerCollectionDeleter comments

parent da171196
...@@ -309,8 +309,8 @@ func (r *crdHandler) removeDeadStorage() { ...@@ -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 {
......
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