Merge pull request #3440 from masahir0y/trivial

Trivial changes
This commit is contained in:
Kir Kolyshkin
2022-03-29 16:09:34 -07:00
committed by GitHub
+1 -1
View File
@@ -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)