mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
StoreSplit: move dashboard thumbs into thumbs service (#55800)
* move dashboard thumbs into thumbs service * rename some variables
This commit is contained in:
@@ -45,7 +45,6 @@ import (
|
||||
"github.com/grafana/grafana/pkg/services/comments"
|
||||
"github.com/grafana/grafana/pkg/services/contexthandler"
|
||||
"github.com/grafana/grafana/pkg/services/correlations"
|
||||
dashboardThumbs "github.com/grafana/grafana/pkg/services/dashboard_thumbs"
|
||||
"github.com/grafana/grafana/pkg/services/dashboards"
|
||||
"github.com/grafana/grafana/pkg/services/dashboardsnapshots"
|
||||
dashver "github.com/grafana/grafana/pkg/services/dashboardversion"
|
||||
@@ -193,7 +192,7 @@ type HTTPServer struct {
|
||||
|
||||
userService user.Service
|
||||
tempUserService tempUser.Service
|
||||
dashboardThumbsService dashboardThumbs.Service
|
||||
dashboardThumbsService thumbs.DashboardThumbService
|
||||
loginAttemptService loginAttempt.Service
|
||||
orgService org.Service
|
||||
teamService team.Service
|
||||
@@ -240,7 +239,7 @@ func ProvideHTTPServer(opts ServerOptions, cfg *setting.Cfg, routeRegister routi
|
||||
secretsPluginMigrator spm.SecretMigrationProvider, secretsStore secretsKV.SecretsKVStore,
|
||||
publicDashboardsApi *publicdashboardsApi.Api, userService user.Service, tempUserService tempUser.Service,
|
||||
loginAttemptService loginAttempt.Service, orgService org.Service, teamService team.Service,
|
||||
accesscontrolService accesscontrol.Service, dashboardThumbsService dashboardThumbs.Service, navTreeService navtree.Service,
|
||||
accesscontrolService accesscontrol.Service, dashboardThumbsService thumbs.DashboardThumbService, navTreeService navtree.Service,
|
||||
annotationRepo annotations.Repository, tagService tag.Service, searchv2HTTPService searchV2.SearchHTTPService,
|
||||
userAuthService userauth.Service,
|
||||
) (*HTTPServer, error) {
|
||||
|
||||
Reference in New Issue
Block a user