diff options
author | Matthew Heon <mheon@redhat.com> | 2021-09-15 13:40:16 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-09-16 09:42:14 -0400 |
commit | 3c24d1fda2c0b0d55c963deaf13900101a40bfb3 (patch) | |
tree | 7bf335562865fb15791cb18b4c15da3b9b9015a8 /libpod/pod_api.go | |
parent | fcb22e82b518bd8de31bc152b78d2cbc6ab09964 (diff) | |
download | podman-3c24d1fda2c0b0d55c963deaf13900101a40bfb3.tar.gz podman-3c24d1fda2c0b0d55c963deaf13900101a40bfb3.tar.bz2 podman-3c24d1fda2c0b0d55c963deaf13900101a40bfb3.zip |
Remove pod create options `--cpus` and `--cpuset-cpus`
These are not presently functional - we need a rewrite of how the
pod cgroup is handled first.
Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/pod_api.go')
-rw-r--r-- | libpod/pod_api.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libpod/pod_api.go b/libpod/pod_api.go index 5f4d983b9..4c3b1b0b7 100644 --- a/libpod/pod_api.go +++ b/libpod/pod_api.go @@ -592,9 +592,6 @@ func (p *Pod) Inspect() (*define.InspectPodData, error) { infraConfig.StaticIP = infra.Config().ContainerNetworkConfig.StaticIP infraConfig.NoManageResolvConf = infra.Config().UseImageResolvConf infraConfig.NoManageHosts = infra.Config().UseImageHosts - infraConfig.CPUPeriod = p.CPUPeriod() - infraConfig.CPUQuota = p.CPUQuota() - infraConfig.CPUSetCPUs = p.ResourceLim().CPU.Cpus infraConfig.PidNS = p.PidMode() infraConfig.UserNS = p.UserNSMode() @@ -642,9 +639,6 @@ func (p *Pod) Inspect() (*define.InspectPodData, error) { SharedNamespaces: sharesNS, NumContainers: uint(len(containers)), Containers: ctrs, - CPUSetCPUs: p.ResourceLim().CPU.Cpus, - CPUPeriod: p.CPUPeriod(), - CPUQuota: p.CPUQuota(), } return &inspectData, nil |