utilruntime.HandleError(fmt.Errorf("quota controller could not find ResourceQuota associated with namespace: %s, could take up to %v before a quota replenishes",namespace,rq.resyncPeriod()))
return
}
iferr!=nil{
iferr!=nil{
glog.Errorf("quota controller could not find ResourceQuota associated with namespace: %s, could take up to %v before a quota replenishes",namespace,rq.resyncPeriod())
utilruntime.HandleError(fmt.Errorf("error checking to see if namespace %s has any ResourceQuota associated with it: %v",namespace,err))
return
}
}
iflen(resourceQuotas)==0{
iflen(resourceQuotas)==0{
return
return
...
@@ -350,7 +370,7 @@ func (rq *ResourceQuotaController) replenishQuota(groupKind schema.GroupKind, na
...
@@ -350,7 +370,7 @@ func (rq *ResourceQuotaController) replenishQuota(groupKind schema.GroupKind, na
// only queue those quotas that are tracking a resource associated with this kind.
// only queue those quotas that are tracking a resource associated with this kind.