Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stats: get mem limit from the cgroup
b25b330 introduced this behaviour. It was fine at the time because we didn't support "container update", so the limit could not be changed at runtime. Since it is not possible to change the memory limit at runtime, read the limit as reported from the cgroup. containers/crun#1217 is required for crun. [NO NEW TESTS NEEDED] needs a new crun release Closes: containers#18621 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
- Loading branch information