k3s/contrib
Rowan Thorpe dccee4e87b Fix regression from commit 137e80cd86
Problem:

A false-negative in check-config.sh for cgroups v2 systems was fixed but the
commit introduced a regression based on a small assumption that content of
/sys/fs/cgroup/cgroup.controllers would have the same format as the content
of /proc/self/cgroup. It doesn't.

Solution:

This just tweaks the regex to count occurrences of either cgroup
subsystem-names on each line (as occurs in the sysfs pseudo-file), or those
names with colons either side (as occurs in the procfs pseudo-file).

Signed-off-by: Rowan Thorpe <rowan@rowanthorpe.com>
2021-09-17 11:21:17 -07:00
..
ansible contrib/ansible: Remove duplication and redirect to new repository 2020-05-12 17:47:20 +02:00
gotests_templates Moved testing utils into tests directory. Improved gotests template. (#3805) 2021-08-10 11:13:26 -07:00
util Fix regression from commit 137e80cd86 2021-09-17 11:21:17 -07:00