| commit | a2ae5992c52d77d5f52cea5b99df90fdfebcb48f | [log] [tgz] |
|---|---|---|
| author | Abhay Kumar <abhay.kumar@radisys.com> | Mon Nov 10 14:02:24 2025 +0000 |
| committer | Abhay Kumar <abhay.kumar@radisys.com> | Fri Dec 05 07:09:17 2025 +0000 |
| tree | 5073cc457c66ef663e296e7dacd932674db1ece2 | |
| parent | 26065cff097de3ced0f09bff0bf47fa4f681a2c3 [diff] [blame] |
[VOL-5486] Fix deprecated versions Change-Id: I3e03ea246020547ae75fa92ce8cf5cbba7e8f3bb Signed-off-by: Abhay Kumar <abhay.kumar@radisys.com>
diff --git a/vendor/github.com/dustin/go-humanize/ftoa.go b/vendor/github.com/dustin/go-humanize/ftoa.go index 1c62b64..bce923f 100644 --- a/vendor/github.com/dustin/go-humanize/ftoa.go +++ b/vendor/github.com/dustin/go-humanize/ftoa.go
@@ -6,6 +6,9 @@ ) func stripTrailingZeros(s string) string { + if !strings.ContainsRune(s, '.') { + return s + } offset := len(s) - 1 for offset > 0 { if s[offset] == '.' {