Dashboard Conversion: Set panel level datasource when converting from v2 to v1 (#115777)
* set panel level ds when converting from v2 to v1 * remove comment * lint * always set ds in sqr * improve * Apply suggestions from code review Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com> --------- Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
This commit is contained in:
Vendored
+7
@@ -80,6 +80,10 @@
|
||||
"liveNow": false,
|
||||
"panels": [
|
||||
{
|
||||
"datasource": {
|
||||
"type": "grafana-testdata-datasource",
|
||||
"uid": "gdev-testdata"
|
||||
},
|
||||
"description": "This should resolve to the grafana-testdata-datasource datasource",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
@@ -170,6 +174,9 @@
|
||||
"type": "timeseries"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "elasticsearch"
|
||||
},
|
||||
"description": "This should resolve to the first elasticsearch datasource",
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
|
||||
Reference in New Issue
Block a user