Skip to content

Commit

Permalink
fix endpoint slice controller logging format error
Browse files Browse the repository at this point in the history
Co-authored-by: Surya Seetharaman <[email protected]>
  • Loading branch information
aojea and tssurya committed Sep 16, 2022
1 parent 02ac8ac commit c3259df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (t *TopologyCache) SetNodes(nodes []*v1.Node) {
defer t.lock.Unlock()

if totalCPU.IsZero() || !sufficientNodeInfo || len(cpuByZone) < 2 {
klog.V(2).Infof("Insufficient node info for topology hints (%d zones, %s CPU, %t)", len(cpuByZone), totalCPU.MilliValue(), sufficientNodeInfo)
klog.V(2).Infof("Insufficient node info for topology hints (%d zones, %s CPU, %t)", len(cpuByZone), totalCPU.String(), sufficientNodeInfo)
t.sufficientNodeInfo = false
t.cpuByZone = nil
t.cpuRatiosByZone = nil
Expand Down

0 comments on commit c3259df

Please sign in to comment.