Merge pull request #112860 from nckturner/remove-log-line

Remove log line from expiration cache
This commit is contained in:
Kubernetes Prow Robot 2022-10-14 21:25:16 -07:00 committed by GitHub
commit c5bc8f929b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}