mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
InfluxDB: Fix query call with flux and sql when backend migration disbaled (#77760)
Only run through with classicQuery if the language is influxql and backend migration is disabled
This commit is contained in:
@@ -138,12 +138,12 @@ export default class InfluxDatasource extends DataSourceWithBackend<InfluxQuery,
|
|||||||
return merge(...streams);
|
return merge(...streams);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isMigrationToggleOnAndIsAccessProxy()) {
|
if (this.version === InfluxVersion.InfluxQL && !this.isMigrationToggleOnAndIsAccessProxy()) {
|
||||||
return super.query(filteredRequest);
|
// Fallback to classic query support
|
||||||
|
return this.classicQuery(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fallback to classic query support
|
return super.query(filteredRequest);
|
||||||
return this.classicQuery(request);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getQueryDisplayText(query: InfluxQuery) {
|
getQueryDisplayText(query: InfluxQuery) {
|
||||||
|
|||||||
Reference in New Issue
Block a user