diff options
author | Kir Kolyshkin <kolyshkin@gmail.com> | 2020-10-05 12:41:28 -0700 |
---|---|---|
committer | Kir Kolyshkin <kolyshkin@gmail.com> | 2020-10-05 15:57:57 -0700 |
commit | d4aa89bb40b3a2c1730c9bff31a681007a3feb97 (patch) | |
tree | 10ba280d6da9babc3bfb7a2518dde85a90f2b689 /libpod/runtime.go | |
parent | 684d0079d2cb5f84f65b3313a52ca3fbcbc40350 (diff) | |
download | podman-d4aa89bb40b3a2c1730c9bff31a681007a3feb97.tar.gz podman-d4aa89bb40b3a2c1730c9bff31a681007a3feb97.tar.bz2 podman-d4aa89bb40b3a2c1730c9bff31a681007a3feb97.zip |
pkg/cgroups/createCgroupv2Path: nits
1. Check the path validity before trying to read the cgroup.controllers.
2. Do not hardcode "/sys/fs/cgroup".
3. Simplify creating the "+this +that" string.
4. Do not wrap ioutil.WriteFile error.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Diffstat (limited to 'libpod/runtime.go')
0 files changed, 0 insertions, 0 deletions