Skip to content

Commit

Permalink
Merge pull request opencontainers#684 from Mashimiao/schema-fix-inval…
Browse files Browse the repository at this point in the history
…id-types

schema: fix invalid types
  • Loading branch information
vbatts authored Feb 8, 2017
2 parents 1f408dc + 4100020 commit 67c81aa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions schema/config-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@
"properties": {
"cpus": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
"$ref": "string"
"type": "string"
},
"mems": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/mems",
"$ref": "string"
"type": "string"
},
"period": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/period",
Expand Down Expand Up @@ -223,7 +223,7 @@
},
"cgroupsPath": {
"id": "https://opencontainers.org/schema/bundle/linux/cgroupsPath",
"$ref": "string"
"type": "string"
},
"rootfsPropagation": {
"id": "https://opencontainers.org/schema/bundle/linux/rootfsPropagation",
Expand Down
4 changes: 2 additions & 2 deletions schema/config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@
"properties": {
"height": {
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/height",
"$ref": "defs.json#/definitions/unit64"
"$ref": "defs.json#/definitions/uint64"
},
"width": {
"id": "https://opencontainers.org/schema/bundle/process/consoleSize/width",
"$ref": "defs.json#/definitions/unit64"
"$ref": "defs.json#/definitions/uint64"
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions schema/defs-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
"type": "boolean"
},
"type": {
"$ref": "string"
"type": "string"
},
"major": {
"$ref": "#/definitions/Major"
Expand All @@ -203,7 +203,7 @@
"$ref": "#/definitions/Minor"
},
"access": {
"$ref": "string"
"type": "string"
}
},
"required": [
Expand Down
2 changes: 1 addition & 1 deletion schema/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"$ref": "#/definitions/Env"
},
"timeout": {
"$ref": "#/definitions/int"
"type": "integer"
}
},
"required": [
Expand Down

0 comments on commit 67c81aa

Please sign in to comment.