|
@@ -448,7 +448,7 @@ func (sched *Scheduler) scheduleOne() {
|
|
|
// Check if the cache needs update
|
|
|
select {
|
|
|
// clean the cache if 10 seconds are passed
|
|
|
- case <-customcache.labCache.Timeout.C:
|
|
|
+ case <-customcache.LabCache.Timeout.C:
|
|
|
klog.Infof("Time to erase")
|
|
|
customcache.LabCache.CleanCache()
|
|
|
default:
|