Skip to content

Commit bbafc5f

Browse files
committed
specs-go/config: Add a 'linux' tag to OOMScoreAdj
This should have happened in 4b49c64 (config: Shift oomScoreAdj from linux.resources to process, 2017-05-09, #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]>
1 parent 3036273 commit bbafc5f

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)