fix crash in ByteSize conversion

This commit is contained in:
2026-07-08 15:07:01 +02:00
parent c128e32ca1
commit 1e9e419e9b

View File

@@ -44,6 +44,8 @@ func any2string(in any) string {
return strings.Join(val, ",") return strings.Join(val, ",")
case ByteSize: case ByteSize:
return val.String() return val.String()
case *ByteSize:
return val.String()
case time.Time: case time.Time:
return val.Format("2006-01-02 15:04:05") return val.Format("2006-01-02 15:04:05")
case time.Duration: case time.Duration: