Skip to content

Commit 0a8dec1

Browse files
committed
update
Signed-off-by: Lokesh Mandvekar <[email protected]>
1 parent f9149c3 commit 0a8dec1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

info.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"github.com/containers/buildah/util"
1515
v1 "github.com/opencontainers/image-spec/specs-go/v1"
1616
"github.com/sirupsen/logrus"
17-
"go.podman.io/common/pkg/cgroups"
1817
"go.podman.io/storage"
1918
"go.podman.io/storage/pkg/system"
2019
"go.podman.io/storage/pkg/unshare"
@@ -51,10 +50,6 @@ func hostInfo() map[string]any {
5150
info["cpus"] = runtime.NumCPU()
5251
info["rootless"] = unshare.IsRootless()
5352

54-
_, err := cgroups.IsCgroup2UnifiedMode()
55-
if err != nil {
56-
logrus.Error(err, "err reading cgroups mode")
57-
}
5853
ociruntime := util.Runtime()
5954
info["OCIRuntime"] = ociruntime
6055

0 commit comments

Comments
 (0)