spiegel_podman/pkg/cgroups
Sascha Grunert 7864afd6b2
Do not error on pids.current stats if ctr.path is empty
If the ctr.path is empty, then we do not try to access
`/sys/fs/cgroup/pids/pids.current` any more because this path will be
wrong in any case. We now return and do not set the PIDs stats.

Refers to https://github.com/cri-o/cri-o/issues/3522

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-04-07 09:03:30 +02:00
..
blkio.go cgroups: attempt a recursive rmdir 2019-07-11 18:07:48 +02:00
cgroups.go update systemd & dbus dependencies 2020-03-10 18:34:55 +01:00
cgroups_supported.go Use cgroupv2 super magic from golang.org/x/sys/unix 2020-01-21 16:08:29 +01:00
cgroups_unsupported.go rootless: automatically create a systemd scope 2019-09-12 08:35:26 +02:00
cpu.go stats: add SystemUsage 2020-02-12 11:58:29 +01:00
cpuset.go cgroups: attempt a recursive rmdir 2019-07-11 18:07:48 +02:00
memory.go cgroups: attempt a recursive rmdir 2019-07-11 18:07:48 +02:00
pids.go Do not error on pids.current stats if ctr.path is empty 2020-04-07 09:03:30 +02:00
systemd.go update systemd & dbus dependencies 2020-03-10 18:34:55 +01:00