mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-16 20:15:32 +00:00
fmt
Signed-off-by: Zachary Caldarola <zmc2005@gmail.com>
This commit is contained in:
parent
f3952f941b
commit
076eb2c3f5
@ -69,7 +69,7 @@ func (PGReplicationSlotCollector) Update(ctx context.Context, db *sql.DB, ch cha
|
|||||||
var slot_name string
|
var slot_name string
|
||||||
var wal_lsn int64
|
var wal_lsn int64
|
||||||
var flush_lsn int64
|
var flush_lsn int64
|
||||||
var is_active int
|
var is_active int64
|
||||||
if err := rows.Scan(&slot_name, &wal_lsn, &flush_lsn, &is_active); err != nil {
|
if err := rows.Scan(&slot_name, &wal_lsn, &flush_lsn, &is_active); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user