Skip to content

Commit 10ab597

Browse files
committed
config-linux: Remove explicit 'null' from device cgroup values
Catch the Markdown spec up with the JSON Schema change in 0927437 (schema: Drop pointers and nulls, 2017-01-18, #662). The Markdown is canonical, so we could restore the explicit-null handling to the JSON Schema instead, but the maintainers feel (and I agree) that there's no point in explicitly allowing a null value when callers can simply leave the property unset [1]. [1]: #555 (comment) Signed-off-by: W. Trevor King <[email protected]>
1 parent 1259a08 commit 10ab597

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ Each entry has the following structure:
218218

219219
* **`allow`** *(boolean, REQUIRED)* - whether the entry is allowed or denied.
220220
* **`type`** *(string, OPTIONAL)* - type of device: `a` (all), `c` (char), or `b` (block).
221-
`null` or unset values mean "all", mapping to `a`.
221+
Unset values mean "all", mapping to `a`.
222222
* **`major, minor`** *(int64, OPTIONAL)* - [major, minor numbers][devices] for the device.
223-
`null` or unset values mean "all", mapping to [`*` in the filesystem API][cgroup-v1-devices].
223+
Unset values mean "all", mapping to [`*` in the filesystem API][cgroup-v1-devices].
224224
* **`access`** *(string, OPTIONAL)* - cgroup permissions for device.
225225
A composition of `r` (read), `w` (write), and `m` (mknod).
226226

0 commit comments

Comments
 (0)