mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
@@ -534,6 +534,11 @@ func CreateLibcontainerConfig(opts *CreateOpts) (*configs.Config, error) {
|
||||
s := *spec.Process.Scheduler
|
||||
config.Scheduler = &s
|
||||
}
|
||||
|
||||
if spec.Process.IOPriority != nil {
|
||||
ioPriority := *spec.Process.IOPriority
|
||||
config.IOPriority = &ioPriority
|
||||
}
|
||||
}
|
||||
createHooks(spec, config)
|
||||
config.Version = specs.Version
|
||||
|
||||
Reference in New Issue
Block a user