We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d54225c + eb7c7c7 commit 792336bCopy full SHA for 792336b
3 files changed
sys/oom_unix.go sys/oom_linux.gosys/oom_unix.go renamed to sys/oom_linux.go
@@ -1,5 +1,3 @@
1
-// +build !windows
2
-
3
/*
4
Copyright The containerd Authors.
5
sys/oom_unix_test.go sys/oom_linux_test.gosys/oom_unix_test.go renamed to sys/oom_linux_test.go
sys/oom_windows.go sys/oom_unsupported.gosys/oom_windows.go renamed to sys/oom_unsupported.go
@@ -1,3 +1,5 @@
+// +build !linux
+
@@ -17,7 +19,9 @@
17
19
package sys
18
20
21
const (
- // OOMScoreAdjMax is not implemented on Windows
22
+ // OOMScoreMaxKillable is not implemented on non Linux
23
+ OOMScoreMaxKillable = 0
24
+ // OOMScoreAdjMax is not implemented on non Linux
25
OOMScoreAdjMax = 0
26
)
27
0 commit comments