mirror of
https://github.com/containers/podman.git
synced 2025-11-01 10:45:52 +08:00
vendor latest containers/common
We had a couple of regressions in containers/common in the last release. Before cutting a new release, let's vendor it here. Since 3.0 has been branched, we can vendor a non-release commit of c/common. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
2
vendor/github.com/containers/common/pkg/cgroupv2/cgroups_linux.go
generated
vendored
2
vendor/github.com/containers/common/pkg/cgroupv2/cgroups_linux.go
generated
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user