diff --git a/schema/config-linux.json b/schema/config-linux.json index c0f649778..0a73d11fb 100644 --- a/schema/config-linux.json +++ b/schema/config-linux.json @@ -49,7 +49,7 @@ }, "oomScoreAdj": { "id": "https://opencontainers.org/schema/bundle/linux/resources/oomScoreAdj", - "type": "integer", + "type": "integer" }, "pids": { "id": "https://opencontainers.org/schema/bundle/linux/resources/pids", diff --git a/schema/config-windows.json b/schema/config-windows.json index 38f7d6045..6017da5aa 100644 --- a/schema/config-windows.json +++ b/schema/config-windows.json @@ -32,7 +32,7 @@ }, "shares": { "id": "https://opencontainers.org/schema/bundle/windows/resources/cpu/shares", - "$ref": "defs-windows.json#/definitions/cpuShares" + "$ref": "defs.json#/definitions/uint16" }, "percent": { "id": "https://opencontainers.org/schema/bundle/windows/resources/cpu/percent", diff --git a/schema/defs-linux.json b/schema/defs-linux.json index 9e5466a0f..2ac6eeb2c 100644 --- a/schema/defs-linux.json +++ b/schema/defs-linux.json @@ -150,7 +150,7 @@ } }, "blkioWeight": { - "type": "integer", + "type": "integer" }, "blockIODevice": { "type": "object", diff --git a/schema/defs-windows.json b/schema/defs-windows.json deleted file mode 100644 index c9cfde0e5..000000000 --- a/schema/defs-windows.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "definitions": { - "cpuShares": { - "description": "Relative weight to other containers with CPU Shares defined", - "type": "integer", - } - } -}