Merge pull request #102772 from saintube/patch-1

cleanup: fix kubelet cpuset typo
This commit is contained in:
Kubernetes Prow Robot
2021-06-14 19:00:13 -07:00
committed by GitHub

View File

@@ -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 {