mirror of
https://github.com/containers/podman.git
synced 2025-09-20 11:13:54 +08:00
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:
@ -98,7 +98,6 @@ func (c *Container) getMemLimit() uint64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
//nolint:unconvert
|
||||
physicalLimit := uint64(mi.MemTotal)
|
||||
|
||||
if memLimit <= 0 || memLimit > physicalLimit {
|
||||
|
Reference in New Issue
Block a user