Skip to content

Commit ef5b904

Browse files
committed
api: stop using deprecated kernel memory limit.
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
1 parent dc42090 commit ef5b904

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/api/resources.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ func FromOCILinuxResources(o *rspec.LinuxResources, _ map[string]string) *LinuxR
3333
Limit: Int64(m.Limit),
3434
Reservation: Int64(m.Reservation),
3535
Swap: Int64(m.Swap),
36-
Kernel: Int64(m.Kernel),
3736
KernelTcp: Int64(m.KernelTCP),
3837
Swappiness: UInt64(m.Swappiness),
3938
DisableOomKiller: Bool(m.DisableOOMKiller),

0 commit comments

Comments
 (0)