Skip to content

Commit 4100020

Browse files
author
Ma Shimiao
committed
schema: fix invalid types
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1 parent 2e2d568 commit 4100020

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

schema/config-linux.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@
121121
"properties": {
122122
"cpus": {
123123
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
124-
"$ref": "string"
124+
"type": "string"
125125
},
126126
"mems": {
127127
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems",
128-
"$ref": "string"
128+
"type": "string"
129129
},
130130
"period": {
131131
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period",
@@ -223,7 +223,7 @@
223223
},
224224
"cgroupsPath": {
225225
"id": "https://opencontainers.org/schema/bundle/linux/cgroupsPath",
226-
"$ref": "string"
226+
"type": "string"
227227
},
228228
"rootfsPropagation": {
229229
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",

schema/config-schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@
9595
"properties": {
9696
"height": {
9797
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/height",
98-
"$ref": "defs.json#/definitions/unit64"
98+
"$ref": "defs.json#/definitions/uint64"
9999
},
100100
"width": {
101101
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/width",
102-
"$ref": "defs.json#/definitions/unit64"
102+
"$ref": "defs.json#/definitions/uint64"
103103
}
104104
}
105105
},

schema/defs-linux.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@
194194
"type": "boolean"
195195
},
196196
"type": {
197-
"$ref": "string"
197+
"type": "string"
198198
},
199199
"major": {
200200
"$ref": "#/definitions/Major"
@@ -203,7 +203,7 @@
203203
"$ref": "#/definitions/Minor"
204204
},
205205
"access": {
206-
"$ref": "string"
206+
"type": "string"
207207
}
208208
},
209209
"required": [

schema/defs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"$ref": "#/definitions/Env"
9292
},
9393
"timeout": {
94-
"$ref": "#/definitions/int"
94+
"type": "integer"
9595
}
9696
},
9797
"required": [

0 commit comments

Comments
 (0)