We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d45c81a commit f980c9eCopy full SHA for f980c9e
service/config_provider.go
@@ -98,8 +98,8 @@ func MustNewConfigProvider(
98
}
99
100
101
-// MustNewDefaultConfigProvider returns the default ConfigProvider, and it creates configuration from a file
102
-// 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).
103
func MustNewDefaultConfigProvider(configLocations []string, properties []string) ConfigProvider {
104
return MustNewConfigProvider(
105
configLocations,
0 commit comments