mirror of
https://github.com/containers/podman.git
synced 2025-06-25 20:26:51 +08:00
Merge pull request #7105 from AkihiroSuda/fix-cgroupversion-string
compat/info.go: TrimPrefix(CGroupsVersion, "v")
This commit is contained in:
@ -119,7 +119,7 @@ func GetInfo(w http.ResponseWriter, r *http.Request) {
|
||||
BuildahVersion: infoData.Host.BuildahVersion,
|
||||
CPURealtimePeriod: sysInfo.CPURealtimePeriod,
|
||||
CPURealtimeRuntime: sysInfo.CPURealtimeRuntime,
|
||||
CgroupVersion: infoData.Host.CGroupsVersion,
|
||||
CgroupVersion: strings.TrimPrefix(infoData.Host.CGroupsVersion, "v"),
|
||||
Rootless: rootless.IsRootless(),
|
||||
SwapFree: infoData.Host.SwapFree,
|
||||
SwapTotal: infoData.Host.SwapTotal,
|
||||
|
Reference in New Issue
Block a user