File tree Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Expand file tree Collapse file tree 1 file changed +29
-3
lines changed Original file line number Diff line number Diff line change 170170 },
171171 "period" : {
172172 "id" : " https://opencontainers.org/schema/bundle/linux/resources/cpu/period" ,
173- "$ref" : " defs.json#/definitions/uint64Pointer"
173+ "oneOf" : [
174+ {
175+ "type" : " integer" ,
176+ "minimum" : 1000 ,
177+ "maximum" : 1000000
178+ },
179+ {
180+ "type" : " null"
181+ }
182+ ]
174183 },
175184 "quota" : {
176185 "id" : " https://opencontainers.org/schema/bundle/linux/resources/cpu/quota" ,
177- "$ref" : " defs.json#/definitions/uint64Pointer"
186+ "oneOf" : [
187+ {
188+ "type" : " integer" ,
189+ "minimum" : 1000
190+ },
191+ {
192+ "type" : " null"
193+ }
194+ ]
178195 },
179196 "realtimePeriod" : {
180197 "id" : " https://opencontainers.org/schema/bundle/linux/resources/cpu/realtimePeriod" ,
239256 },
240257 "swappiness" : {
241258 "id" : " https://opencontainers.org/schema/bundle/linux/resources/memory/swappiness" ,
242- "$ref" : " defs.json#/definitions/uint64Pointer"
259+ "oneOf" : [
260+ {
261+ "type" : " integer" ,
262+ "minimum" : 0 ,
263+ "maximum" : 100
264+ },
265+ {
266+ "type" : " null"
267+ }
268+ ]
243269 }
244270 }
245271 },
You can’t perform that action at this time.
0 commit comments