mirror of
https://github.com/TwiN/gatus.git
synced 2025-02-16 10:20:00 +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) {
|
func recalculateUptime(uptime *core.Uptime) {
|
||||||
uptimeBrackets := make(map[string]uint64)
|
uptimeBrackets := make(map[string]uint64)
|
||||||
now := time.Now()
|
now := time.Now()
|
||||||
|
Loading…
Reference in New Issue
Block a user