mirror of https://github.com/docker/docs.git
fix typo
This commit is contained in:
parent
6fce89e60b
commit
ed56b6a905
|
@ -132,7 +132,7 @@ func HumanDuration(d time.Duration) string {
|
||||||
return fmt.Sprintf("%d years", d.Hours()/24/365)
|
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")
|
// (eg. "44kB", "17MB")
|
||||||
func HumanSize(size int64) string {
|
func HumanSize(size int64) string {
|
||||||
i := 0
|
i := 0
|
||||||
|
|
Loading…
Reference in New Issue