mirror of
https://github.com/containers/podman.git
synced 2025-06-20 00:51:16 +08:00
Change humanize to use MB vs MiB.
Fixes #1653 Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
@ -60,7 +60,7 @@ class History(AbstractActionBase):
|
||||
if self._args.human:
|
||||
fields.update({
|
||||
'size':
|
||||
humanize.naturalsize(details.size, binary=True),
|
||||
humanize.naturalsize(details.size),
|
||||
'created':
|
||||
humanize.naturaldate(
|
||||
podman.datetime_parse(details.created)),
|
||||
|
@ -65,7 +65,7 @@ class Images(AbstractActionBase):
|
||||
'created':
|
||||
humanize.naturaldate(podman.datetime_parse(image.created)),
|
||||
'size':
|
||||
humanize.naturalsize(int(image.size), binary=True),
|
||||
humanize.naturalsize(int(image.size)),
|
||||
'repoDigests':
|
||||
' '.join(image.repoDigests),
|
||||
})
|
||||
|
Reference in New Issue
Block a user