summaryrefslogtreecommitdiff
path: root/internal/api
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api')
-rw-r--r--internal/api/handlers.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/api/handlers.go b/internal/api/handlers.go
index b08f686..506b83c 100644
--- a/internal/api/handlers.go
+++ b/internal/api/handlers.go
@@ -150,7 +150,6 @@ func StatusHandler(w http.ResponseWriter, r *http.Request) {
}
jsonData, _ := json.Marshal(res)
- // fmt.Printf("Overall: %s\n", string(jsonData))
fmt.Fprint(w, string(jsonData))
}
@@ -188,7 +187,6 @@ func StatusServicesHandler(w http.ResponseWriter, r *http.Request) {
})
jsonData, _ := json.Marshal(response)
- // fmt.Printf("ServicesStatus: %s\n", string(jsonData))
fmt.Fprint(w, string(jsonData))
}
@@ -208,7 +206,6 @@ func StatusMetricsHandler(w http.ResponseWriter, r *http.Request) {
}
jsonData, _ := json.Marshal(res)
- // fmt.Printf("Metrics: %s\n", string(jsonData))
fmt.Fprintf(w, string(jsonData))
}
@@ -225,7 +222,6 @@ func StatusIncidentsHandler(w http.ResponseWriter, r *http.Request) {
response := []incident{}
jsonData, _ := json.Marshal(response)
- // fmt.Printf("Incidents: %s\n", string(jsonData))
fmt.Fprintf(w, string(jsonData))
}
@@ -241,7 +237,6 @@ func StatusMaintenanceHandler(w http.ResponseWriter, r *http.Request) {
response := []event{}
jsonData, _ := json.Marshal(response)
- // fmt.Printf("Events: %s\n", string(jsonData))
fmt.Fprintf(w, string(jsonData))
}
@@ -253,7 +248,6 @@ func StatusUptimeHandler(w http.ResponseWriter, r *http.Request) {
response := []event{}
jsonData, _ := json.Marshal(response)
- // fmt.Printf("Uptime: %s\n", string(jsonData))
fmt.Fprintf(w, string(jsonData))
}