From 5e1dc22f8892de142d0eb68c329329aacf200d82 Mon Sep 17 00:00:00 2001 From: Ieva Date: Thu, 26 Jan 2023 14:39:52 +0000 Subject: [PATCH] Chore: fix builds on main (#62218) fix builds --- pkg/services/store/k8saccess/dashboard_service.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/services/store/k8saccess/dashboard_service.go b/pkg/services/store/k8saccess/dashboard_service.go index ba8347a0077..2aedde47aca 100644 --- a/pkg/services/store/k8saccess/dashboard_service.go +++ b/pkg/services/store/k8saccess/dashboard_service.go @@ -4,7 +4,6 @@ import ( "context" "fmt" - "github.com/grafana/grafana/pkg/models" "github.com/grafana/grafana/pkg/services/dashboards" "github.com/grafana/grafana/pkg/services/folder" "github.com/grafana/grafana/pkg/services/store/entity" @@ -32,7 +31,7 @@ func (s *k8sDashboardService) DeleteDashboard(ctx context.Context, dashboardId i return s.orig.DeleteDashboard(ctx, dashboardId, orgId) } -func (s *k8sDashboardService) FindDashboards(ctx context.Context, query *models.FindPersistedDashboardsQuery) ([]dashboards.DashboardSearchProjection, error) { +func (s *k8sDashboardService) FindDashboards(ctx context.Context, query *dashboards.FindPersistedDashboardsQuery) ([]dashboards.DashboardSearchProjection, error) { return s.orig.FindDashboards(ctx, query) } @@ -77,7 +76,7 @@ func (s *k8sDashboardService) SaveDashboard(ctx context.Context, dto *dashboards return s.orig.SaveDashboard(ctx, dto, allowUiUpdate) } -func (s *k8sDashboardService) SearchDashboards(ctx context.Context, query *models.FindPersistedDashboardsQuery) error { +func (s *k8sDashboardService) SearchDashboards(ctx context.Context, query *dashboards.FindPersistedDashboardsQuery) error { return s.orig.SearchDashboards(ctx, query) }