k8s: Dashboards: allow querying of unistore (#97995)

This commit is contained in:
Stephanie Hingtgen
2024-12-17 10:35:46 -06:00
committed by GitHub
parent d8ddbcda51
commit b3985a4d37
17 changed files with 686 additions and 188 deletions
+1 -1
View File
@@ -478,7 +478,7 @@ func (hs *HTTPServer) deleteDashboard(c *contextmodel.ReqContext) response.Respo
hs.log.Error("Failed to delete public dashboard")
}
err = hs.DashboardService.DeleteDashboard(c.Req.Context(), dash.ID, c.SignedInUser.GetOrgID())
err = hs.DashboardService.DeleteDashboard(c.Req.Context(), dash.ID, dash.UID, c.SignedInUser.GetOrgID())
if err != nil {
var dashboardErr dashboards.DashboardErr
if ok := errors.As(err, &dashboardErr); ok {