Skip to content

Commit

Permalink
Remove more dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Adams <[email protected]>
  • Loading branch information
sysadmind committed Mar 5, 2023
1 parent 8d6ce05 commit 5526386
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/postgres_exporter/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5526386

Please sign in to comment.