Remove more dead code

Signed-off-by: Joe Adams <github@joeadams.io>
This commit is contained in:
Joe Adams 2023-03-05 15:30:18 -05:00
parent 8d6ce0558c
commit 55263868e0
No known key found for this signature in database
GPG Key ID: 57821BE38D950376

View File

@ -85,8 +85,6 @@ func handleProbe(logger log.Logger, excludeDatabases []string) http.HandlerFunc
// Run the probe
pc, err := collector.NewProbeCollector(tl, excludeDatabases, registry, dsn)
if err != nil {
// probeSuccessGauge.Set(0)
// probeDurationGauge.Set(time.Since(start).Seconds())
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}