mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-24 19:12:02 +00:00
Fix kubelet cpuset typo
This commit is contained in:
parent
0d9c29078b
commit
9255f2ccf3
@ -297,7 +297,7 @@ func Parse(s string) (CPUSet, error) {
|
||||
}
|
||||
|
||||
// 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, ",")
|
||||
|
||||
for _, r := range ranges {
|
||||
|
Loading…
Reference in New Issue
Block a user