1
0
mirror of https://github.com/docker/cli.git synced 2026-01-19 21:41:31 +03:00
Upstream-commit: ed56b6a905d5e9f443cb0c5c949965f848abbe8d
Component: engine
This commit is contained in:
Victor Vieux
2013-05-23 09:35:20 +00:00
parent 8c3121bf04
commit 87ab4000ad

View File

@@ -132,7 +132,7 @@ func HumanDuration(d time.Duration) string {
return fmt.Sprintf("%d years", d.Hours()/24/365)
}
// HumanSize returns a human-readabla approximation of a size
// HumanSize returns a human-readable approximation of a size
// (eg. "44kB", "17MB")
func HumanSize(size int64) string {
i := 0