Skip to content

Commit 1b3e2c7

Browse files
author
Ma Shimiao
committed
schema: fix invalid string reference
Signed-off-by: Ma Shimiao <[email protected]>
1 parent 579548a commit 1b3e2c7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

schema/config-linux.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,11 @@
179179
"properties": {
180180
"cpus": {
181181
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
182-
"$ref": "defs.json#/definitions/string"
182+
"$ref": "string"
183183
},
184184
"mems": {
185185
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems",
186-
"$ref": "defs.json#/definitions/string"
186+
"$ref": "string"
187187
},
188188
"period": {
189189
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period",
@@ -295,7 +295,7 @@
295295
},
296296
"cgroupsPath": {
297297
"id": "https://opencontainers.org/schema/bundle/linux/cgroupsPath",
298-
"$ref": "defs.json#/definitions/string"
298+
"$ref": "string"
299299
},
300300
"rootfsPropagation": {
301301
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",

schema/defs-linux.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
"type": "boolean"
239239
},
240240
"type": {
241-
"$ref": "defs.json#/definitions/string"
241+
"$ref": "string"
242242
},
243243
"major": {
244244
"oneOf": [
@@ -261,7 +261,7 @@
261261
]
262262
},
263263
"access": {
264-
"$ref": "defs.json#/definitions/string"
264+
"$ref": "string"
265265
}
266266
},
267267
"required": [

0 commit comments

Comments
 (0)