Skip to content

Commit

Permalink
Merge pull request opencontainers#528 from hmeng-19/add_missing_type
Browse files Browse the repository at this point in the history
Add missing `"type": "object"`
  • Loading branch information
Mrunal Patel authored Aug 17, 2016
2 parents 90027b0 + da3b96e commit 8095e4e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions schema/config-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
},
"pids": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/pids",
"type": "object",
"properties": {
"limit": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/pids/limit",
Expand Down Expand Up @@ -157,6 +158,7 @@
},
"cpu": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu",
"type": "object",
"properties": {
"cpus": {
"id": "https://opencontainers.org/schema/bundle/linux/resources/cpu/cpus",
Expand Down Expand Up @@ -283,6 +285,7 @@
},
"seccomp": {
"id": "https://opencontainers.org/schema/bundle/linux/seccomp",
"type": "object",
"properties": {
"defaultAction": {
"id": "https://opencontainers.org/schema/bundle/linux/seccomp/defaultAction",
Expand Down
8 changes: 8 additions & 0 deletions schema/defs-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
]
},
"SyscallArg": {
"type": "object",
"properties": {
"index": {
"$ref": "defs.json#/definitions/uint32"
Expand All @@ -60,6 +61,7 @@
}
},
"Syscall": {
"type": "object",
"properties": {
"name": {
"type": "string"
Expand Down Expand Up @@ -103,6 +105,7 @@
"pattern": "^[cbup]$"
},
"Device": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/FileType"
Expand Down Expand Up @@ -146,6 +149,7 @@
]
},
"blockIODevice": {
"type": "object",
"properties": {
"major": {
"$ref": "#/definitions/Major"
Expand All @@ -166,6 +170,7 @@
"$ref": "#/definitions/blockIODevice"
},
{
"type": "object",
"properties": {
"weight": {
"$ref": "#/definitions/blkioWeightPointer"
Expand Down Expand Up @@ -193,6 +198,7 @@
"$ref": "#/definitions/blockIODevice"
},
{
"type": "object",
"properties": {
"rate": {
"$ref": "defs.json#/definitions/uint64Pointer"
Expand All @@ -212,6 +218,7 @@
]
},
"NetworkInterfacePriority": {
"type": "object",
"properties": {
"name": {
"type": "string"
Expand All @@ -234,6 +241,7 @@
]
},
"NamespaceReference": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/NamespaceType"
Expand Down
3 changes: 3 additions & 0 deletions schema/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
"$ref": "#/definitions/ArrayOfStrings"
},
"Hook": {
"type": "object",
"properties": {
"path": {
"$ref": "#/definitions/FilePath"
Expand All @@ -123,6 +124,7 @@
}
},
"IDMapping": {
"type": "object",
"properties": {
"hostID": {
"$ref": "#/definitions/uint32"
Expand All @@ -136,6 +138,7 @@
}
},
"Mount": {
"type": "object",
"properties": {
"source": {
"$ref": "#/definitions/FilePath"
Expand Down

0 comments on commit 8095e4e

Please sign in to comment.