Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Electronn committed Sep 23, 2024
1 parent 129751a commit 926fe58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/pg_wal.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 926fe58

Please sign in to comment.