diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-11-24 13:41:02 +0100 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2021-11-24 14:50:12 +0100 |
commit | b25b330306782019d7aaf7618cd4598a9ae87250 (patch) | |
tree | 9e57da89cb4b7665105f86b28e069e6b23c6cc03 /libpod/define/container_inspect.go | |
parent | 4b014a3aecf9508ed83ae489e188721e6234ccd5 (diff) | |
download | podman-b25b330306782019d7aaf7618cd4598a9ae87250.tar.gz podman-b25b330306782019d7aaf7618cd4598a9ae87250.tar.bz2 podman-b25b330306782019d7aaf7618cd4598a9ae87250.zip |
stats: get the memory limit from the spec
OCI runtimes may set the memory limits in different ways, e.g., crun
creates a sub-cgroup where the limits are applied, while runc applies
them directly on the created cgroup. Since there is standardization
on the cgroup path to use, just use the limit specified in the spec
file.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'libpod/define/container_inspect.go')
0 files changed, 0 insertions, 0 deletions