From e6414a6690618b954a9653589a762b09aecd356b Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Thu, 24 Apr 2025 10:29:49 +0300 Subject: [PATCH] Provisioning: Fix the save version in dashboard scenes (#104433) fix save (correct v1beta1) --- public/app/features/dashboard-scene/scene/DashboardScene.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard-scene/scene/DashboardScene.tsx b/public/app/features/dashboard-scene/scene/DashboardScene.tsx index 2a6d6abece9..29433b0bb56 100644 --- a/public/app/features/dashboard-scene/scene/DashboardScene.tsx +++ b/public/app/features/dashboard-scene/scene/DashboardScene.tsx @@ -775,7 +775,7 @@ export class DashboardScene extends SceneObjectBase impleme const { meta } = this.state; const spec = this.getSaveAsModel(options); - const apiVersion = this.serializer instanceof V2DashboardSerializer ? 'v2alpha1' : 'v1alpha1'; // get from the dashboard? + const apiVersion = this.serializer instanceof V2DashboardSerializer ? 'v2alpha1' : 'v1beta1'; // get from the dashboard? return { apiVersion: `dashboard.grafana.app/${apiVersion}`, kind: 'Dashboard',