Cloud-Monitoring: Ensure service gets dependencies (#38788)

* ensure cloud-monitoring gets service dependencies

* all one line
This commit is contained in:
Will Browne 2021-09-01 15:29:21 +02:00 committed by GitHub
parent 9f29241a0c
commit e39410c094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,9 +66,11 @@ const (
perSeriesAlignerDefault string = "ALIGN_MEAN"
)
func ProvideService(pluginManager plugins.Manager) *Service {
func ProvideService(cfg *setting.Cfg, pluginManager plugins.Manager, httpClientProvider httpclient.Provider) *Service {
return &Service{
PluginManager: pluginManager,
HTTPClientProvider: httpClientProvider,
Cfg: cfg,
}
}