mirror of
https://github.com/containers/podman.git
synced 2025-09-27 16:54:42 +08:00
Bump Buildah to v1.11.6
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/buildah/info.go
generated
vendored
4
vendor/github.com/containers/buildah/info.go
generated
vendored
@ -13,6 +13,7 @@ import (
|
||||
|
||||
"github.com/containers/buildah/pkg/cgroups"
|
||||
"github.com/containers/buildah/pkg/unshare"
|
||||
"github.com/containers/buildah/util"
|
||||
"github.com/containers/storage"
|
||||
"github.com/containers/storage/pkg/system"
|
||||
"github.com/sirupsen/logrus"
|
||||
@ -52,10 +53,9 @@ func hostInfo() map[string]interface{} {
|
||||
logrus.Error(err, "err reading cgroups mode")
|
||||
}
|
||||
cgroupVersion := "v1"
|
||||
ociruntime := "runc"
|
||||
ociruntime := util.Runtime()
|
||||
if unified {
|
||||
cgroupVersion = "v2"
|
||||
ociruntime = "crun"
|
||||
}
|
||||
info["CgroupVersion"] = cgroupVersion
|
||||
info["OCIRuntime"] = ociruntime
|
||||
|
Reference in New Issue
Block a user