You've already forked mysqld_exporter
mirror of
https://github.com/prometheus/mysqld_exporter.git
synced 2025-07-30 06:43:05 +03:00
Update Makefile.common (#358)
* Update Makefile.commmon * Update Makefile.common from latest prometheus upstream. * Fix staticcheck errors. Signed-off-by: Ben Kochie <superq@gmail.com>
This commit is contained in:
@ -209,7 +209,7 @@ func (ScrapeUser) Scrape(ctx context.Context, db *sql.DB, ch chan<- prometheus.M
|
||||
return err
|
||||
}
|
||||
|
||||
if *userPrivilegesFlag == true {
|
||||
if *userPrivilegesFlag {
|
||||
userCols, err := userRows.Columns()
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user