Skip to content

Commit

Permalink
Merge pull request #61 from oneEyedSunday/pr-docs-typos
Browse files Browse the repository at this point in the history
fix some issues with docs
  • Loading branch information
Vonng authored Aug 9, 2024
2 parents aadca04 + 9984b62 commit d04a5dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion exporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion exporter/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit d04a5dd

Please sign in to comment.