Skip to content

Commit bcc8b8b

Browse files
committed
Remove misleading warning
1 parent b7bd24d commit bcc8b8b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/agent/clientset.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ type ClientSetConfig struct {
152152
}
153153

154154
func (cc *ClientSetConfig) NewAgentClientSet(drainCh, stopCh <-chan struct{}) *ClientSet {
155-
if cc.SyncForever && cc.ServerLeaseCounter != nil {
156-
klog.Warning("sync forever was enabled even though a server lease counter was provided; this may result in unnecessary connection requests")
157-
}
158155
return &ClientSet{
159156
clients: make(map[string]*Client),
160157
agentID: cc.AgentID,

0 commit comments

Comments
 (0)