pref: 完善告警通知任务 (#6263)

pull/6271/head
3 months ago committed by GitHub
parent a1d394fbc2
commit a5e7f78a1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -338,3 +338,7 @@ func FormatBytes(bytes uint64) string {
return fmt.Sprintf("%.2fGB", float64(bytes)/float64(gb))
}
}
func FormatPercent(percent float64) string {
return fmt.Sprintf("%.2f%%", percent)
}

Loading…
Cancel
Save