mirror of
https://github.com/containers/podman.git
synced 2025-11-13 01:29:06 +08:00
Update the login tests to reflect the latest changes to allow http{s}
prefixes (again) to address bugzilla.redhat.com/show_bug.cgi?id=2062072.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
14 lines
181 B
Go
14 lines
181 B
Go
//go:build !linux && !windows
|
|
// +build !linux,!windows
|
|
|
|
package sysinfo
|
|
|
|
import (
|
|
"runtime"
|
|
)
|
|
|
|
// NumCPU returns the number of CPUs
|
|
func NumCPU() int {
|
|
return runtime.NumCPU()
|
|
}
|