You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: style.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@ For example, this paragraph will span three lines in the Markdown source.
8
8
9
9
## <aname="styleHex" />Traditionally hex settings should use JSON integers, not JSON strings
10
10
11
-
For example, [`"classID": 1048577`][class-id] instead of `"classID": "0x100001"`.
11
+
For example, [`"classID": 1048577`](config-linux.md#network) instead of `"classID": "0x100001"`.
12
12
The config JSON isn't enough of a UI to be worth jumping through string <-> integer hoops to support an 0x… form ([source][integer-over-hex]).
13
13
14
14
## <aname="styleConstantNames" />Constant names should keep redundant prefixes
15
15
16
-
For example, `CAP_KILL` instead of `KILL` in [**`linux.capabilities`**][capabilities].
16
+
For example, `CAP_KILL` instead of `KILL` in [**`process.capabilities`**](config.md#process).
17
17
The redundancy reduction from removing the namespacing prefix is not useful enough to be worth trimming the upstream identifier ([source][keep-prefix]).
18
18
19
19
## <aname="styleOptionalSettings" />Optional settings should not have pointer Go types
@@ -120,8 +120,6 @@ The URL for the Open Containers link above is: https://github.com/opencontainers
0 commit comments