summaryrefslogtreecommitdiff
path: root/libpod/container_exec.go
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2020-10-05 12:41:28 -0700
committerKir Kolyshkin <kolyshkin@gmail.com>2020-10-05 15:57:57 -0700
commitd4aa89bb40b3a2c1730c9bff31a681007a3feb97 (patch)
tree10ba280d6da9babc3bfb7a2518dde85a90f2b689 /libpod/container_exec.go
parent684d0079d2cb5f84f65b3313a52ca3fbcbc40350 (diff)
downloadpodman-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/container_exec.go')
0 files changed, 0 insertions, 0 deletions