Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit 1f15a6a

Browse files
bern4rdellidiogonicoleti
authored andcommitted
Align types
1 parent 631e108 commit 1f15a6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gauges/indexes.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func (g *Gauges) UnusedIndexes() prometheus.Gauge {
6363

6464
type schemaIndexBlocksRead struct {
6565
Name string `db:"schemaname"`
66-
IndexBlocksRead float64 `db:"idx_blks_read"`
66+
IndexBlocksRead float64 `db:"idx_blks_read"`
6767
}
6868

6969
// IndexBlocksRead returns the sum of the number of disk blocks read from all public indexes
@@ -106,7 +106,7 @@ func (g *Gauges) IndexBlocksReadBySchema() *prometheus.GaugeVec {
106106

107107
type schemaIndexBlocksHit struct {
108108
Name string `db:"schemaname"`
109-
IndexBlocksHit float64 `db:"idx_blks_hit"`
109+
IndexBlocksHit float64 `db:"idx_blks_hit"`
110110
}
111111

112112
// IndexBlocksHit returns the sum of the number of buffer hits on all user indexes

0 commit comments

Comments
 (0)