]> git.proxmox.com Git - pve-common.git/commitdiff
cgroup: make get_v1_controllers private
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 21 Sep 2022 07:53:12 +0000 (09:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Sep 2022 07:59:22 +0000 (09:59 +0200)
we have no external users left

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/CGroup.pm

index 44b3297a0da6abf1dc4ed1a4c8e28a0bac0167d2..92a065464dea4077b5eb95b7d73582925fc9c762 100644 (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');