Skip to content

Commit

Permalink
Merge pull request opencontainers#836 from wking/oom-score-adj-go-tag
Browse files Browse the repository at this point in the history
specs-go/config: Add a 'linux' tag to OOMScoreAdj
  • Loading branch information
Michael Crosby authored May 18, 2017
2 parents 3036273 + bbafc5f commit 1de23f7
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 1de23f7

Please sign in to comment.