Signed-off-by: Nikolai Vaganov <electron17@yandex.ru>
This commit is contained in:
Nikolai Vaganov 2024-09-23 23:40:22 +03:00
parent 2c5c3ecfb0
commit 20e10175de

View File

@ -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 {