fix(monitor): inject time into ComputeDailyBreakdown #91
Reference in New Issue
Block a user
Delete Branch "fix/sla-daily-breakdown-time"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TestComputeDailyBreakdown failed when CI ran near midnight — outage events fell in previous day's bucket, making today show 100% uptime.
ComputeDailyBreakdownnow accepts anow time.Timeparameter instead of callingtime.Now()internally