mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-24 17:04:42 +01:00
Add missing comment
This commit is contained in:
parent
718f8260bb
commit
ee414df03f
@ -62,6 +62,7 @@ func processUptimeAfterResult(uptime *core.Uptime, result *core.Result) {
|
||||
}
|
||||
}
|
||||
|
||||
// recalculateUptime calculates the uptime over the past 7 days, 24 hours and 1 hour.
|
||||
func recalculateUptime(uptime *core.Uptime) {
|
||||
uptimeBrackets := make(map[string]uint64)
|
||||
now := time.Now()
|
||||
|
Loading…
Reference in New Issue
Block a user