diff --git a/exporter/exporter.go b/exporter/exporter.go index 3045c2c..44829f2 100644 --- a/exporter/exporter.go +++ b/exporter/exporter.go @@ -547,7 +547,7 @@ func WithExcludeDatabase(excludeStr string) ExporterOpt { } } -// WithIncludeDatabase configures exporter with excluded database +// WithIncludeDatabase configures exporter with included database func WithIncludeDatabase(includeStr string) ExporterOpt { return func(e *Exporter) { inclMap := make(map[string]bool) diff --git a/exporter/server.go b/exporter/server.go index 77c57e9..f2e5940 100644 --- a/exporter/server.go +++ b/exporter/server.go @@ -91,7 +91,6 @@ func (s *Server) Name() string { return ShadowPGURL(s.dsn) } -// Name is coalesce(s.Database, dsn) func (s *Server) Error() error { return s.err }