mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-28 14:08:15 +00:00
lint fix
Signed-off-by: Nikolai Vaganov <electron17@yandex.ru>
This commit is contained in:
parent
2c5c3ecfb0
commit
20e10175de
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user