mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-05-06 18:08:02 +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)
|
segmentsValue = float64(segments.Int64)
|
||||||
} else {
|
} else {
|
||||||
segmentsValue = 0
|
segmentsValue = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
var sizeValue float64
|
var sizeValue float64
|
||||||
if size.Valid {
|
if size.Valid {
|
||||||
|
Loading…
Reference in New Issue
Block a user