Remove log line from expiration cache

Kubernetes-commit: e7bfd5909f5540f884a8bb914a9230c9bf7c2803
This commit is contained in:
Nick Turner 2022-10-04 11:01:37 -07:00 committed by Kubernetes Publisher
parent 6b2491258e
commit 5870c622c7

View File

@ -20,7 +20,6 @@ import (
"sync"
"time"
"k8s.io/klog/v2"
"k8s.io/utils/clock"
)
@ -100,7 +99,6 @@ func (c *ExpirationCache) getOrExpire(key string) (interface{}, bool) {
return nil, false
}
if c.expirationPolicy.IsExpired(timestampedItem) {
klog.V(4).Infof("Entry %v: %+v has expired", key, timestampedItem.Obj)
c.cacheStorage.Delete(key)
return nil, false
}