Fix build for auto-discover-databases feature
This commit is contained in:
committed by
Will Rouesnel
parent
4d96104c10
commit
85c31524f6
@@ -914,6 +914,7 @@ func DisableSettingsMetrics(b bool) ExporterOpt {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AutoDiscoverDatabases allows scraping all databases on a database server.
|
||||||
func AutoDiscoverDatabases(b bool) ExporterOpt {
|
func AutoDiscoverDatabases(b bool) ExporterOpt {
|
||||||
return func(e *Exporter) {
|
return func(e *Exporter) {
|
||||||
e.autoDiscoverDatabases = b
|
e.autoDiscoverDatabases = b
|
||||||
|
|||||||
Reference in New Issue
Block a user