Skip to content

Commit 221995e

Browse files
committed
fixup! Add numa cpuset support
Signed-off-by: xibz <[email protected]>
1 parent 7de3a00 commit 221995e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runtime/cpuset/cpuset_builder.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ package cpuset
1515

1616
import (
1717
"fmt"
18+
"strconv"
1819
"strings"
1920
)
2021

@@ -131,7 +132,7 @@ func (b Builder) Build() CPUSet {
131132
func stringify(elems []int, ranges []_range) string {
132133
strs := []string{}
133134
for _, elem := range elems {
134-
strs = append(strs, fmt.Sprintf("%d", elem))
135+
strs = append(strs, strconv.Itoa(elem))
135136
}
136137

137138
for _, r := range ranges {

0 commit comments

Comments
 (0)