Skip to content

Commit 1de23f7

Browse files
Merge pull request #836 from wking/oom-score-adj-go-tag
specs-go/config: Add a 'linux' tag to OOMScoreAdj
2 parents 3036273 + bbafc5f commit 1de23f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs-go/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ type Process struct {
5353
// ApparmorProfile specifies the apparmor profile for the container.
5454
ApparmorProfile string `json:"apparmorProfile,omitempty" platform:"linux"`
5555
// Specify an oom_score_adj for the container.
56-
OOMScoreAdj *int `json:"oomScoreAdj,omitempty"`
56+
OOMScoreAdj *int `json:"oomScoreAdj,omitempty" platform:"linux"`
5757
// SelinuxLabel specifies the selinux context that the container process is run as.
5858
SelinuxLabel string `json:"selinuxLabel,omitempty" platform:"linux"`
5959
}

0 commit comments

Comments
 (0)