From fc103cf515bc7361b24731189ca79c728e949305 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 2 Aug 2016 23:45:11 -0700 Subject: [PATCH] config: Consistent Markdown/Go wording for 'process' I've dropped "main process" because "container process" is currently a much more popular way of identifying that process in this specification. Before this commit: $ git grep -i 'main process' | wc -l 4 $ git grep -i 'container process' | wc -l 13 I've also added our usual: (, ) to the Markdown so folks can see that this is a required object. Signed-off-by: W. Trevor King --- config.md | 2 ++ specs-go/config.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config.md b/config.md index 19ef4ccb..0d334347 100644 --- a/config.md +++ b/config.md @@ -90,6 +90,8 @@ See links for details about [mountvol](http://ss64.com/nt/mountvol.html) and [Se ## Process configuration +**`process`** (object, required) configures the container process. + * **`terminal`** (bool, optional) specifies whether you want a terminal attached to that process, defaults to false. * **`cwd`** (string, required) is the working directory that will be set for the executable. This value MUST be an absolute path. diff --git a/specs-go/config.go b/specs-go/config.go index cb4cae81..4d5a9488 100644 --- a/specs-go/config.go +++ b/specs-go/config.go @@ -8,7 +8,7 @@ type Spec struct { Version string `json:"ociVersion"` // Platform specifies the configuration's target platform. Platform Platform `json:"platform"` - // Process is the container's main process. + // Process configures the container process. Process Process `json:"process"` // Root is the root information for the container's filesystem. Root Root `json:"root"`