diff options
author | Robby Zambito <contact@robbyzambito.me> | 2025-08-08 14:27:10 -0400 |
---|---|---|
committer | Robby Zambito <contact@robbyzambito.me> | 2025-08-08 14:27:14 -0400 |
commit | 82c1ef4624f8994b95ef37dff6c4620b60882e9f (patch) | |
tree | 89360fc08d806297916f60ec3289a136c9be6135 /internal/api | |
parent | f8512ab6dadd6a1032981b82a45c38de24217c80 (diff) |
Diffstat (limited to 'internal/api')
-rw-r--r-- | internal/api/handlers.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/api/handlers.go b/internal/api/handlers.go index 2e0af1e..355c05f 100644 --- a/internal/api/handlers.go +++ b/internal/api/handlers.go @@ -289,11 +289,13 @@ func InitializeAPI(logs *[LogLength]string, n *int, toLogParser chan string) { for _, s := range status.incidents { if s.Status == StatusDown { status.overallStatus.Status = StatusDown + status.overallStatus.Description = "Everything is on fire!" break } if s.Status == StatusDegraded { status.overallStatus.Status = StatusDegraded + status.overallStatus.Description = "Users may exeprience interruptions" } } } |