Skip to content

Commit 2577aab

Browse files
committed
nrt: least_numa: fix log format
Signed-off-by: Francesco Romani <[email protected]>
1 parent a3f93ab commit 2577aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/noderesourcetopology/least_numa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func nodesAvgDistance(numaNodes NUMANodeList, nodes ...int) float32 {
140140
cost, ok := numaNodes[node1].Costs[node2]
141141
// we couldn't read Costs assign maxDistanceValue
142142
if !ok {
143-
klog.Warningf("cannot retrieve Costs information for node : %s", node1)
143+
klog.Warningf("cannot retrieve Costs information for node %d", node2)
144144
cost = maxDistanceValue
145145
}
146146
accu += cost

0 commit comments

Comments
 (0)