Skip to content

Commit

Permalink
balloons: log balloon name as string, not integer.
Browse files Browse the repository at this point in the history
Signed-off-by: Krisztian Litkey <[email protected]>
  • Loading branch information
klihub authored and askervin committed Feb 11, 2024
1 parent 475d293 commit 876610d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/plugins/balloons/policy/balloons-policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ func (p *balloons) shareIdleCpus(addCpus, removeCpus cpuset.CPUSet) []*Balloon {
bln.SharedIdleCpus = bln.SharedIdleCpus.Union(idleCpusInTopoLevel)
sharedNow := bln.SharedIdleCpus.Size()
if sharedBefore != sharedNow {
log.Debugf("balloon %d shares %d new idle CPU(s) in %s(s), %d in total (%s)",
log.Debugf("balloon %s shares %d new idle CPU(s) in %s(s), %d in total (%s)",
bln.PrettyName(), sharedNow-sharedBefore,
topoLevel, bln.SharedIdleCpus.Size(), bln.SharedIdleCpus)
updateBalloons[blnIdx] = struct{}{}
Expand Down

0 comments on commit 876610d

Please sign in to comment.