datasources: query-service url fix (#105178)

This commit is contained in:
Gábor Farkas
2025-05-13 09:36:20 +02:00
committed by GitHub
parent 242cb8edbd
commit 98df41235d
@@ -226,7 +226,7 @@ class DataSourceWithBackend<
if (!hasExpr && dsUIDs.size === 1) {
// TODO? can we talk directly to the apiserver?
}
url = `/apis/query.grafana.app/v0alpha1/namespaces/${config.namespace}/query?ds_type=' + this.type`;
url = `/apis/query.grafana.app/v0alpha1/namespaces/${config.namespace}/query?ds_type=${this.type}`;
}
}