Skip to content

Commit aa004f6

Browse files
Update collector/pg_buffercache_summary.go
Co-authored-by: Ben Kochie <[email protected]> Signed-off-by: Peter Nuttall <[email protected]>
1 parent 93a7548 commit aa004f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/pg_buffercache_summary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ var (
8989
`
9090
)
9191

92-
func gaugeInt32(m sql.NullInt32, desc *prometheus.Desc, ch chan<- prometheus.Metric) {
92+
func gaugeInt32(ch chan<- prometheus.Metric, desc *prometheus.Desc, m sql.NullInt32) {
9393
mM := 0.0
9494
if m.Valid {
9595
mM = float64(m.Int32)

0 commit comments

Comments
 (0)