From cb677ca313350cc1d71d236b47885bb6564e4eca Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Wed, 3 Jun 2026 22:32:32 +0200 Subject: [PATCH] size.go: remove spaces before unit from documentation Fallout from 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1 See https://github.com/docker/docker/issues/30271 Signed-off-by: Debarshi Ray --- size.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/size.go b/size.go index 9d43877..b14f2f8 100644 --- a/size.go +++ b/size.go @@ -62,7 +62,7 @@ func HumanSizeWithPrecision(size float64, precision int) string { } // HumanSize returns a human-readable approximation of a size -// capped at 4 valid numbers (eg. "2.746 MB", "796 KB"). +// capped at 4 valid numbers (eg. "2.746MB", "796KB"). func HumanSize(size float64) string { return HumanSizeWithPrecision(size, 4) }