mirror of
https://github.com/kubernetes/client-go.git
synced 2025-07-31 23:00:26 +00:00
Merge pull request #112860 from nckturner/remove-log-line
Remove log line from expiration cache Kubernetes-commit: c5bc8f929baf0ef7d6b1559e76f7569e8792a1bd
This commit is contained in:
commit
fa9ed7f5fe
2
tools/cache/expiration_cache.go
vendored
2
tools/cache/expiration_cache.go
vendored
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user