Skip to content

Commit 377ee71

Browse files
committed
Lint
Signed-off-by: Felix Yuan <[email protected]>
1 parent ba62ad1 commit 377ee71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

collector/pg_statio_user_indexes.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ type PGStatioUserIndexesCollector struct {
2929

3030
const statioUserIndexesSubsystem = "statio_user_indexes"
3131

32-
func NewPGStatioUserIndexesCollector(collectorConfig) (Collector, error) {
33-
return &PGStatioUserIndexesCollector{}, nil
32+
func NewPGStatioUserIndexesCollector(config collectorConfig) (Collector, error) {
33+
return &PGStatioUserIndexesCollector{log: config.logger}, nil
3434
}
3535

3636
var (

0 commit comments

Comments
 (0)