summaryrefslogtreecommitdiff
path: root/pkg/channelwriter/channelwriter.go
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@suse.com>2020-04-06 13:04:52 +0200
committerSascha Grunert <sgrunert@suse.com>2020-04-07 09:03:30 +0200
commit7864afd6b2c0cfaa91a7cd1d255ece4c89814ce2 (patch)
treefe086fee70addd9cc182490bd6deee5bf45ebdac /pkg/channelwriter/channelwriter.go
parentf7dffedeb610df662e69915fcff1bb37986baf55 (diff)
downloadpodman-7864afd6b2c0cfaa91a7cd1d255ece4c89814ce2.tar.gz
podman-7864afd6b2c0cfaa91a7cd1d255ece4c89814ce2.tar.bz2
podman-7864afd6b2c0cfaa91a7cd1d255ece4c89814ce2.zip
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>
Diffstat (limited to 'pkg/channelwriter/channelwriter.go')
0 files changed, 0 insertions, 0 deletions