deps: bump github.com/containerd/nri

Fixes https://github.com/containerd/nri/issues/117

Signed-off-by: Samuel Karp <samuelkarp@google.com>
This commit is contained in:
Samuel Karp
2024-10-23 13:52:53 -07:00
parent deccefc8cf
commit 4b9d6c0144
4 changed files with 4 additions and 7 deletions

View File

@@ -329,9 +329,6 @@ func (g *Generator) AdjustCgroupsPath(path string) {
func (g *Generator) AdjustOomScoreAdj(score *nri.OptionalInt) {
if score != nil {
g.SetProcessOOMScoreAdj(int(score.Value))
} else {
g.SetProcessOOMScoreAdj(0)
g.Config.Process.OOMScoreAdj = nil
}
}