mirror of
https://github.com/containers/podman.git
synced 2025-12-01 10:38:05 +08:00
bump c/common to latest main
Includes the fixes for the search filter changes. [NO NEW TESTS NEEDED] Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/common/pkg/cgroups/cgroups_linux.go
generated
vendored
4
vendor/github.com/containers/common/pkg/cgroups/cgroups_linux.go
generated
vendored
@@ -542,7 +542,7 @@ func (c *CgroupControl) Stat() (*cgroups.Stats, error) {
|
||||
return &m, nil
|
||||
}
|
||||
|
||||
func readCgroup2MapPath(path string) (map[string][]string, error) {
|
||||
func readCgroupMapPath(path string) (map[string][]string, error) {
|
||||
ret := map[string][]string{}
|
||||
f, err := os.Open(path)
|
||||
if err != nil {
|
||||
@@ -570,5 +570,5 @@ func readCgroup2MapPath(path string) (map[string][]string, error) {
|
||||
func readCgroup2MapFile(ctr *CgroupControl, name string) (map[string][]string, error) {
|
||||
p := filepath.Join(cgroupRoot, ctr.config.Path, name)
|
||||
|
||||
return readCgroup2MapPath(p)
|
||||
return readCgroupMapPath(p)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user