mirror of
https://github.com/slackhq/nebula.git
synced 2026-10-08 02:57:54 +02:00
for all of ./...
This commit is contained in:
@@ -40,7 +40,7 @@ func AllowedCPUs() ([]int, error) {
|
||||
return nil, err
|
||||
}
|
||||
cpus := make([]int, 0, set.Count())
|
||||
for cpu := 0; cpu < len(set)*64; cpu++ {
|
||||
for cpu := range len(set) * 64 {
|
||||
if set.IsSet(cpu) {
|
||||
cpus = append(cpus, cpu)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user