mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
parent
f4be855e30
commit
5e1dc22f88
@ -4,7 +4,6 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/grafana/grafana/pkg/models"
|
|
||||||
"github.com/grafana/grafana/pkg/services/dashboards"
|
"github.com/grafana/grafana/pkg/services/dashboards"
|
||||||
"github.com/grafana/grafana/pkg/services/folder"
|
"github.com/grafana/grafana/pkg/services/folder"
|
||||||
"github.com/grafana/grafana/pkg/services/store/entity"
|
"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)
|
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)
|
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)
|
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)
|
return s.orig.SearchDashboards(ctx, query)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user