Skip to content

Commit

Permalink
specs-go/config: Add a 'linux' tag to OOMScoreAdj
Browse files Browse the repository at this point in the history
This should have happened in 4b49c64 (config: Shift oomScoreAdj from
linux.resources to process, 2017-05-09, opencontainers#789) as part of moving the
property from a Linux-specific type to a cross-platform type.

Signed-off-by: W. Trevor King <[email protected]>
  • Loading branch information
wking committed May 18, 2017
1 parent 3036273 commit bbafc5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ type Process struct {
// ApparmorProfile specifies the apparmor profile for the container.
ApparmorProfile string `json:"apparmorProfile,omitempty" platform:"linux"`
// Specify an oom_score_adj for the container.
OOMScoreAdj *int `json:"oomScoreAdj,omitempty"`
OOMScoreAdj *int `json:"oomScoreAdj,omitempty" platform:"linux"`
// SelinuxLabel specifies the selinux context that the container process is run as.
SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"`
}
Expand Down

0 comments on commit bbafc5f

Please sign in to comment.