mirror of
https://github.com/containers/podman.git
synced 2025-10-12 00:35:05 +08:00
Update man pages and output for kpod images
The size had a precision of 4, but wanted a precision of 3 to match the output of docker images updated the man page with more examples vendored in new version of docker/go-units to allow for customized precisions Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #82 Approved by: rhatdan
This commit is contained in:
@ -218,7 +218,7 @@ func getImagesTemplateOutput(runtime *libpod.Runtime, images []*storage.Image, o
|
||||
ID: imageID,
|
||||
Digest: imageDigest,
|
||||
Created: units.HumanDuration(time.Since((createdTime))) + " ago",
|
||||
Size: units.HumanSize(float64(size)),
|
||||
Size: units.HumanSizeWithPrecision(float64(size), 3),
|
||||
}
|
||||
imagesOutput = append(imagesOutput, params)
|
||||
}
|
||||
|
Reference in New Issue
Block a user