Dashboards: update manifest to avoid useoldmanifestkinds (#114910)

This commit is contained in:
Ryan McKinley
2025-12-05 16:21:30 +02:00
committed by GitHub
parent 8a0fa93aec
commit 5ac702a4c1
8 changed files with 110 additions and 106 deletions
+2 -1
View File
@@ -12,6 +12,7 @@ import (
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/grafana/grafana-plugin-sdk-go/data"
"github.com/grafana/grafana/apps/dashboard/pkg/apis/dashboard"
"github.com/grafana/grafana/pkg/components/simplejson"
"github.com/grafana/grafana/pkg/infra/log"
"github.com/grafana/grafana/pkg/services/datasources"
@@ -31,7 +32,7 @@ const DatasourceID = -1
// DatasourceUID is the fake datasource uid used in requests to identify it as a
// Grafana DS command.
const DatasourceUID = "grafana"
const DatasourceUID = dashboard.GrafanaDatasourceUID
// Make sure Service implements required interfaces.
// This is important to do since otherwise we will only get a