summaryrefslogtreecommitdiff
path: root/cmd/kpod
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/kpod')
-rw-r--r--cmd/kpod/spec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/kpod/spec.go b/cmd/kpod/spec.go
index 69e81d0e5..1ae050d25 100644
--- a/cmd/kpod/spec.go
+++ b/cmd/kpod/spec.go
@@ -96,6 +96,7 @@ func createConfigToOCISpec(config *createConfig) (*spec.Spec, error) {
g.SetLinuxResourcesMemorySwappiness(config.resources.memorySwapiness)
}
g.SetLinuxResourcesMemoryDisableOOMKiller(config.resources.disableOomKiller)
+ g.SetProcessOOMScoreAdj(config.resources.oomScoreAdj)
// RESOURCES - CPU
@@ -176,7 +177,6 @@ func createConfigToOCISpec(config *createConfig) (*spec.Spec, error) {
}
/*
- OOMScoreAdj: &config.resources.oomScoreAdj,
Hooks: &configSpec.Hooks{},
//Annotations
Resources: &configSpec.LinuxResources{