Skip to content

Commit b5a5ae8

Browse files
committed
schema/config-linux: Check swappiness for zero to 100 range
Catch the JSON Schema up with e73cd70 (Make Linux memory allocations int64 not uint64, 2017-06-23, opencontainers#876), which carried the kernel's 0 to 100 range into the spec. Signed-off-by: W. Trevor King <[email protected]>
1 parent 96de01b commit b5a5ae8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

schema/config-linux.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
},
189189
"swappiness": {
190190
"id": "https://opencontainers.org/schema/bundle/linux/resources/memory/swappiness",
191-
"$ref": "defs.json#/definitions/uint64"
191+
"$ref": "defs.json#/definitions/percent"
192192
},
193193
"disableOOMKiller": {
194194
"id": "https://opencontainers.org/schema/bundle/linux/resources/memory/disableOOMKiller",

0 commit comments

Comments
 (0)