mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Merge pull request #102772 from saintube/patch-1
cleanup: fix kubelet cpuset typo
This commit is contained in:
@@ -297,7 +297,7 @@ func Parse(s string) (CPUSet, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Split CPU list string:
|
// Split CPU list string:
|
||||||
// "0-5,34,46-48 => ["0-5", "34", "46-48"]
|
// "0-5,34,46-48" => ["0-5", "34", "46-48"]
|
||||||
ranges := strings.Split(s, ",")
|
ranges := strings.Split(s, ",")
|
||||||
|
|
||||||
for _, r := range ranges {
|
for _, r := range ranges {
|
||||||
|
Reference in New Issue
Block a user