File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525
2626const (
2727 // CurrentVersion is the current version of the Spec.
28- CurrentVersion = "1.0 .0"
28+ CurrentVersion = "1.1 .0"
2929
3030 // vCurrent is the current version as a semver-comparable type
3131 vCurrent version = "v" + CurrentVersion
@@ -150,12 +150,20 @@ func requiresV110(spec *Spec) bool {
150150 }
151151 }
152152
153+ if len (spec .ContainerEdits .NetDevices ) != 0 {
154+ return true
155+ }
156+
153157 for _ , dev := range spec .Devices {
154158 if i := dev .ContainerEdits .IntelRdt ; i != nil {
155159 if i .Schemata != nil || i .EnableMonitoring {
156160 return true
157161 }
158162 }
163+
164+ if len (dev .ContainerEdits .NetDevices ) != 0 {
165+ return true
166+ }
159167 }
160168
161169 return false
You can’t perform that action at this time.
0 commit comments