mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
tests/int/helpers: fix indentation
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -167,9 +167,9 @@ function init_cgroup_paths() {
|
||||
|
||||
# Helper function to set cgroupsPath to the value of $OCI_CGROUPS_PATH
|
||||
function set_cgroups_path() {
|
||||
bundle="${1:-.}"
|
||||
init_cgroup_paths
|
||||
update_config '.linux.cgroupsPath |= "'"${OCI_CGROUPS_PATH}"'"' $bundle
|
||||
bundle="${1:-.}"
|
||||
init_cgroup_paths
|
||||
update_config '.linux.cgroupsPath |= "'"${OCI_CGROUPS_PATH}"'"' $bundle
|
||||
}
|
||||
|
||||
# Helper to check a value in cgroups.
|
||||
@@ -207,8 +207,8 @@ function check_systemd_value() {
|
||||
|
||||
# Helper function to set a resources limit
|
||||
function set_resources_limit() {
|
||||
bundle="${1:-.}"
|
||||
update_config '.linux.resources.pids.limit |= 100' $bundle
|
||||
bundle="${1:-.}"
|
||||
update_config '.linux.resources.pids.limit |= 100' $bundle
|
||||
}
|
||||
|
||||
# Helper function to make /sys/fs/cgroup writable
|
||||
|
||||
Reference in New Issue
Block a user