datasources: remove empty if (#105314)

This commit is contained in:
Gábor Farkas
2025-07-07 08:58:48 +02:00
committed by GitHub
parent 214fdc791d
commit acdb0e151c
@@ -226,9 +226,6 @@ class DataSourceWithBackend<
if (!(config.featureToggles.queryService || config.featureToggles.grafanaAPIServerWithExperimentalAPIs)) {
console.warn('feature toggle queryServiceFromUI also requires the queryService to be running');
} else {
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}`;
}
}