Skip to content

Commit 4a59363

Browse files
committed
Process idle complaining about uint
Signed-off-by: Felix Yuan <[email protected]>
1 parent 9d91a56 commit 4a59363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/pg_process_idle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (PGProcessIdleCollector) Update(ctx context.Context, instance *instance, ch
8282
var applicationName string
8383
var secondsSum int64
8484
var secondsCount uint64
85-
var seconds []int64
85+
var seconds []uint64
8686
var secondsBucket []uint64
8787

8888
err := row.Scan(&applicationName, &secondsSum, &secondsCount, &seconds, &secondsBucket)

0 commit comments

Comments
 (0)