From b5a5ae83e0ef2cb8b31274fb7e0d39d615c81af7 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 19 Jul 2017 10:28:03 -0700 Subject: [PATCH] schema/config-linux: Check swappiness for zero to 100 range Catch the JSON Schema up with e73cd70c (Make Linux memory allocations int64 not uint64, 2017-06-23, #876), which carried the kernel's 0 to 100 range into the spec. Signed-off-by: W. Trevor King --- schema/config-linux.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/config-linux.json b/schema/config-linux.json index c2e863bec..7f093112a 100644 --- a/schema/config-linux.json +++ b/schema/config-linux.json @@ -188,7 +188,7 @@ }, "swappiness": { "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/swappiness", - "$ref": "defs.json#/definitions/uint64" + "$ref": "defs.json#/definitions/percent" }, "disableOOMKiller": { "id": "https://opencontainers.org/schema/bundle/linux/resources/memory/disableOOMKiller",