Skip to content

Commit

Permalink
PMM-12893 Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Feb 19, 2024
1 parent b33837e commit 36ecf92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/postgres_exporter/datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (e *Exporter) getDatabaseNames(dsn string) ([]string, error) {
server, err := e.GetServer(dsn)
if err != nil {
level.Error(logger).Log("msg", "Error opening connection to database", "dsn", loggableDSN(dsn), "err", err)
return nil, err // TODO
return nil, err
}
defer server.Close()

Expand Down

0 comments on commit 36ecf92

Please sign in to comment.