libpod: rm nolint annotation

It does not make sense because MemInfo.MemTotal is always int64 so the
conversion is always needed.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
Kir Kolyshkin
2025-03-29 19:43:50 -07:00
parent 032250a478
commit 7c175064da

View File

@ -98,7 +98,6 @@ func (c *Container) getMemLimit() uint64 {
return 0
}
//nolint:unconvert
physicalLimit := uint64(mi.MemTotal)
if memLimit <= 0 || memLimit > physicalLimit {