Skip to content

Commit 00ced05

Browse files
committed
Remove unnecessary info logs
1 parent 4d0d95d commit 00ced05

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/agent/lease_counter.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,14 @@ func (lc *ServerLeaseCounter) Count() int {
5353
if isLeaseValid(lease) {
5454
count++
5555
} else {
56-
klog.InfoS("excluding expired lease from server count", "selector", lc.selector, "lease", lease)
5756
}
5857
}
5958

6059
if count == 0 {
61-
klog.Infof("no valid leases found, using fallback count (%v)", lc.fallbackCount)
6260
return lc.fallbackCount
6361
}
6462

6563
if count != lc.fallbackCount {
66-
klog.Infof("found %v valid leases, updating fallback count", count)
6764
lc.fallbackCount = count
6865
}
6966

0 commit comments

Comments
 (0)