datasources: remove empty if (#105314)
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user