mirror of
https://github.com/containers/podman.git
synced 2025-05-22 01:27:07 +08:00
Vendor in latests containers/storage and opencontainers/runtime-tools
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
6
vendor/github.com/containers/common/pkg/cgroups/systemd_linux.go
generated
vendored
6
vendor/github.com/containers/common/pkg/cgroups/systemd_linux.go
generated
vendored
@ -201,7 +201,11 @@ func resourcesToProps(res *configs.Resources, v2 bool) (map[string]uint64, map[s
|
||||
|
||||
// Blkio
|
||||
if res.BlkioWeight > 0 {
|
||||
uMap["BlockIOWeight"] = uint64(res.BlkioWeight)
|
||||
if v2 {
|
||||
uMap["IOWeight"] = uint64(res.BlkioWeight)
|
||||
} else {
|
||||
uMap["BlockIOWeight"] = uint64(res.BlkioWeight)
|
||||
}
|
||||
}
|
||||
|
||||
// systemd requires the paths to be in the form /dev/{block, char}/major:minor
|
||||
|
Reference in New Issue
Block a user