We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa49c8e + 6de448d commit f5c82b3Copy full SHA for f5c82b3
cmd/runtimetest/main.go
@@ -446,7 +446,7 @@ func validateOOMScoreAdj(spec *rspec.Spec) error {
446
logrus.Debugf("validating oomScoreAdj")
447
if spec.Linux.Resources != nil && spec.Linux.Resources.OOMScoreAdj != nil {
448
expected := *spec.Linux.Resources.OOMScoreAdj
449
- f, err := os.Open("/proc/1/oom_score_adj")
+ f, err := os.Open("/proc/self/oom_score_adj")
450
if err != nil {
451
return err
452
}
0 commit comments