Skip to content

Commit 5526386

Browse files
committed
Remove more dead code
Signed-off-by: Joe Adams <[email protected]>
1 parent 8d6ce05 commit 5526386

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/postgres_exporter/probe.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ func handleProbe(logger log.Logger, excludeDatabases []string) http.HandlerFunc
8585
// Run the probe
8686
pc, err := collector.NewProbeCollector(tl, excludeDatabases, registry, dsn)
8787
if err != nil {
88-
// probeSuccessGauge.Set(0)
89-
// probeDurationGauge.Set(time.Since(start).Seconds())
9088
http.Error(w, err.Error(), http.StatusInternalServerError)
9189
return
9290
}

0 commit comments

Comments
 (0)