mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
@@ -673,7 +673,7 @@ func CreateCgroupConfig(opts *CreateOpts, defaultDevs []*devices.Device) (*confi
|
||||
if spec.Linux != nil {
|
||||
r := spec.Linux.Resources
|
||||
if r != nil {
|
||||
for i, d := range spec.Linux.Resources.Devices {
|
||||
for i, d := range r.Devices {
|
||||
var (
|
||||
t = "a"
|
||||
major = int64(-1)
|
||||
|
||||
Reference in New Issue
Block a user