Skip to content

Commit

Permalink
schema/config-linux: fix namespace based on runtime spec
Browse files Browse the repository at this point in the history
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
  • Loading branch information
Ma Shimiao committed Sep 6, 2016
1 parent d3c3763 commit 8e59229
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions schema/config-linux.json
Expand Up @@ -48,14 +48,17 @@
},
"namespaces": {
"id": "https://opencontainers.org/schema/bundle/linux/namespaces",
"type": "array",
"items": {
"anyOf": [
{
"oneOf": [
{
"type": "array",
"items": {
"$ref": "defs-linux.json#/definitions/NamespaceReference"
}
]
}
},
{
"type": "null"
}
]
},
"resources": {
"id": "https://opencontainers.org/schema/bundle/linux/resources",
Expand Down

0 comments on commit 8e59229

Please sign in to comment.