This commit is contained in:
Ryan McKinley
2025-10-26 22:03:58 +03:00
parent 3f1145fe3b
commit 008d373f7a
+1 -2
View File
@@ -128,8 +128,7 @@ func RegisterAPIService(
// Hardcoded schemas for testdata
// NOTE: this will be driven by the pluginJSON/manifest soon
if pluginJSON.ID == "grafana-testdata-datasource" &&
features.IsEnabledGlobally(featuremgmt.FlagGrafanaAPIServerWithExperimentalAPIs) {
if pluginJSON.ID == "grafana-testdata-datasource" && configCrudUseNewApis {
builder.schemaProvider = hardcoded.TestdataOpenAPIExtension
}