Skip to content

Commit 9500be8

Browse files
committed
Replace "container's main process" with "container process"
We use both forms, but the latter was more popular. Before this branch: $ git grep -i 'container process' origin/master | wc -l 13 $ git grep -i 'main process' origin/master | wc -l 4 Also fix "process id" -> "process ID" in one of the lines I touched, to match fork(2) [1]. [1]: http://man7.org/linux/man-pages/man2/fork.2.html Signed-off-by: W. Trevor King <[email protected]>
1 parent fc103cf commit 9500be8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

runtime.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The value MAY be one of:
2020
* `stopped` : the container has been created and the user-specified code has been executed but is no longer running
2121

2222
Additional values MAY be defined by the runtime, however, they MUST be used to represent new runtime states not defined above.
23-
* **`pid`**: (int) is the ID of the main process within the container, as seen by the host.
23+
* **`pid`**: (int) is the ID of the container process, as seen by the host.
2424
* **`bundlePath`**: (string) is the absolute path to the container's bundle directory.
2525
This is provided so that consumers can find the container's configuration and root filesystem on the host.
2626
* **`annotations`**: (map) contains the list of annotations associated with the container.

specs-go/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ type Process struct {
5353
SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"`
5454
}
5555

56-
// User specifies Linux/Solaris specific user and group information for the container's
57-
// main process.
56+
// User specifies Linux/Solaris specific user and group information
57+
// for the container process.
5858
type User struct {
5959
// UID is the user id. (this field is platform dependent)
6060
UID uint32 `json:"uid" platform:"linux,solaris"`

specs-go/state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ type State struct {
88
ID string `json:"id"`
99
// Status is the runtime state of the container.
1010
Status string `json:"status"`
11-
// Pid is the process id for the container's main process.
11+
// Pid is the process ID for the container process.
1212
Pid int `json:"pid"`
1313
// BundlePath is the path to the container's bundle directory.
1414
BundlePath string `json:"bundlePath"`

0 commit comments

Comments
 (0)