From 20e10175decd65f005d4f3941757b4385a2ce2b4 Mon Sep 17 00:00:00 2001 From: Nikolai Vaganov Date: Mon, 23 Sep 2024 23:40:22 +0300 Subject: [PATCH] lint fix Signed-off-by: Nikolai Vaganov --- collector/pg_wal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/pg_wal.go b/collector/pg_wal.go index cfb0ee95..ab39d914 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 {