fix GetCustomResourceListerCollectionDeleter comments

This commit is contained in:
hzxuzhonghu 2018-01-27 16:00:10 +08:00
parent da171196d9
commit 6abde54bbe

View File

@ -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 {