Skip to content

Commit

Permalink
schema/config-linux: Check swappiness for zero to 100 range
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
wking committed Jul 19, 2017
1 parent 96de01b commit b5a5ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/config-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b5a5ae8

Please sign in to comment.