diff options
Diffstat (limited to 'libpod/stats.go')
-rw-r--r-- | libpod/stats.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpod/stats.go b/libpod/stats.go index 8101fbbbd..776870bd2 100644 --- a/libpod/stats.go +++ b/libpod/stats.go @@ -86,7 +86,8 @@ func getMemLimit(cgroupLimit uint64) uint64 { return cgroupLimit } - physicalLimit := si.Totalram + //nolint:unconvert + physicalLimit := uint64(si.Totalram) if cgroupLimit > physicalLimit { return physicalLimit } |