5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2025-01-09 05:17:35 +03:00

cgroup: make get_v1_controllers private

we have no external users left

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-09-21 09:53:12 +02:00 committed by Thomas Lamprecht
parent e94cd574e1
commit 2cae54b99d

View File

@ -40,9 +40,7 @@ sub new {
#
# Returns a set (hash mapping names to `1`) of cgroupv1 controllers, and an
# optional boolean whether a unified (cgroupv2) hierarchy exists.
#
# Deprecated: Use `get_cgroup_controllers()` instead.
sub get_v1_controllers {
my sub get_v1_controllers {
my $v1 = {};
my $v2 = 0;
my $data = PVE::Tools::file_get_contents('/proc/self/cgroup');