Chore: Remove datasources from the Store interface (#53515)

This commit is contained in:
Serge Zaitsev
2022-08-10 15:04:51 +02:00
committed by GitHub
parent 86030493a8
commit 6e4b537ba6
6 changed files with 18 additions and 66 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ func (hs *HTTPServer) getFSDataSources(c *models.ReqContext, enabledPlugins Enab
if c.OrgId != 0 {
query := datasources.GetDataSourcesQuery{OrgId: c.OrgId, DataSourceLimit: hs.Cfg.DataSourceLimit}
err := hs.SQLStore.GetDataSources(c.Req.Context(), &query)
err := hs.DataSourcesService.GetDataSources(c.Req.Context(), &query)
if err != nil {
return nil, err