mirror of https://github.com/containers/podman.git
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:
parent
032250a478
commit
7c175064da
|
@ -98,7 +98,6 @@ func (c *Container) getMemLimit() uint64 {
|
|||
return 0
|
||||
}
|
||||
|
||||
//nolint:unconvert
|
||||
physicalLimit := uint64(mi.MemTotal)
|
||||
|
||||
if memLimit <= 0 || memLimit > physicalLimit {
|
||||
|
|
Loading…
Reference in New Issue