mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-10 13:42:02 +00:00
@@ -76,7 +76,7 @@ func NewCPUSet(cpus ...int) CPUSet {
|
|||||||
return b.Result()
|
return b.Result()
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewCPUSet returns a new CPUSet containing the supplied elements, as slice of int64.
|
// NewCPUSetInt64 returns a new CPUSet containing the supplied elements, as slice of int64.
|
||||||
func NewCPUSetInt64(cpus ...int64) CPUSet {
|
func NewCPUSetInt64(cpus ...int64) CPUSet {
|
||||||
b := NewBuilder()
|
b := NewBuilder()
|
||||||
for _, c := range cpus {
|
for _, c := range cpus {
|
||||||
|
Reference in New Issue
Block a user