We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9149c3 commit 0a8dec1Copy full SHA for 0a8dec1
info.go
@@ -14,7 +14,6 @@ import (
14
"github.com/containers/buildah/util"
15
v1 "github.com/opencontainers/image-spec/specs-go/v1"
16
"github.com/sirupsen/logrus"
17
- "go.podman.io/common/pkg/cgroups"
18
"go.podman.io/storage"
19
"go.podman.io/storage/pkg/system"
20
"go.podman.io/storage/pkg/unshare"
@@ -51,10 +50,6 @@ func hostInfo() map[string]any {
51
50
info["cpus"] = runtime.NumCPU()
52
info["rootless"] = unshare.IsRootless()
53
54
- _, err := cgroups.IsCgroup2UnifiedMode()
55
- if err != nil {
56
- logrus.Error(err, "err reading cgroups mode")
57
- }
58
ociruntime := util.Runtime()
59
info["OCIRuntime"] = ociruntime
60
0 commit comments