Skip to content

Commit 7ae6d3f

Browse files
authored
Merge pull request #576 from ffromani/nrt-integ-test-deflake
nodetopologymatch: improve integration tests
2 parents 0ab88ad + 2577aab commit 7ae6d3f

File tree

4 files changed

+741
-122
lines changed

4 files changed

+741
-122
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)