Skip to content

Commit

Permalink
Update comment line for service.MustNewDefaultConfigProvider (#4964)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax authored Mar 7, 2022
1 parent d45c81a commit f980c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/config_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ func MustNewConfigProvider(
}
}

// MustNewDefaultConfigProvider returns the default ConfigProvider, and it creates configuration from a file
// defined by the given configFile and overwrites fields using properties.
// MustNewDefaultConfigProvider returns the default ConfigProvider from slice of location strings
// (e.g. file:/path/to/config.yaml) and property overrides (e.g. service.telemetry.metrics.address=localhost:8888).
func MustNewDefaultConfigProvider(configLocations []string, properties []string) ConfigProvider {
return MustNewConfigProvider(
configLocations,
Expand Down

0 comments on commit f980c9e

Please sign in to comment.