diff --git a/collector/pg_wal.go b/collector/pg_wal.go index cfb0ee95a..ab39d9145 100644 --- a/collector/pg_wal.go +++ b/collector/pg_wal.go @@ -78,7 +78,7 @@ func (c PGWALCollector) Update(ctx context.Context, instance *instance, ch chan< segmentsValue = float64(segments.Int64) } else { segmentsValue = 0 - } + } var sizeValue float64 if size.Valid {