summaryrefslogtreecommitdiff
path: root/pkg/sysinfo/numcpu.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-21 05:21:09 -0400
committerGitHub <noreply@github.com>2020-04-21 05:21:09 -0400
commit47d99fb6253238e7603fc96d5b9bbb14f1e8c948 (patch)
tree23f7e52d04fe78df60ba1a94c1ef5e7106ff8e82 /pkg/sysinfo/numcpu.go
parent8884f6a4f357ea64ad5f20f791ec0a09bdd36352 (diff)
parent532c7343a9af5fbdcc682f7f93c987b1f1e49b41 (diff)
downloadpodman-47d99fb6253238e7603fc96d5b9bbb14f1e8c948.tar.gz
podman-47d99fb6253238e7603fc96d5b9bbb14f1e8c948.tar.bz2
podman-47d99fb6253238e7603fc96d5b9bbb14f1e8c948.zip
Merge pull request #5647 from rhatdan/containers.conf
Update podmanV2 to use containers.conf
Diffstat (limited to 'pkg/sysinfo/numcpu.go')
-rw-r--r--pkg/sysinfo/numcpu.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkg/sysinfo/numcpu.go b/pkg/sysinfo/numcpu.go
deleted file mode 100644
index aeb1a3a80..000000000
--- a/pkg/sysinfo/numcpu.go
+++ /dev/null
@@ -1,12 +0,0 @@
-// +build !linux,!windows
-
-package sysinfo
-
-import (
- "runtime"
-)
-
-// NumCPU returns the number of CPUs
-func NumCPU() int {
- return runtime.NumCPU()
-}