1
0
mirror of https://github.com/prometheus/mysqld_exporter.git synced 2025-07-30 06:43:05 +03:00

Fix minor golint issues.

This commit is contained in:
Ben Kochie
2016-04-13 23:17:22 +02:00
parent 5599062e12
commit 512dce7d49
6 changed files with 23 additions and 18 deletions

View File

@ -30,6 +30,7 @@ var (
)
)
// ScrapeBinlogSize colects from `SHOW BINARY LOGS`.
func ScrapeBinlogSize(db *sql.DB, ch chan<- prometheus.Metric) error {
var logBin uint8
err := db.QueryRow(logbinQuery).Scan(&logBin)