cgroupv2: fix typo in comment

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2021-01-20 09:44:05 +01:00
parent 012d143d27
commit 8f15d23f10
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ var (
isCgroupV2Err error
)
// Enabled returns whether we are running in cgroup 2 cgroup2 mode.
// Enabled returns whether we are running on cgroup v2
func Enabled() (bool, error) {
isCgroupV2Once.Do(func() {
var st syscall.Statfs_t

View File

@ -2,7 +2,7 @@
package cgroupv2
// Enabled returns whether we are running in cgroup 2 cgroup2 mode.
// Enabled returns whether we are running on cgroup v2
func Enabled() (bool, error) {
return false, nil
}