mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
InfluxDB: Fix fetching retention policies after manually entering a non-existent retention policy (#72564)
Don't fetch tag keys before fetching policies
This commit is contained in:
parent
adc3735122
commit
31f4eddbb6
@ -133,12 +133,7 @@ export const VisualInfluxQLEditor = (props: Props): JSX.Element => {
|
||||
<FromSection
|
||||
policy={policy}
|
||||
measurement={measurement}
|
||||
getPolicyOptions={() =>
|
||||
withTemplateVariableOptions(
|
||||
allTagKeys.then(() => getAllPolicies(datasource)),
|
||||
wrapPure
|
||||
)
|
||||
}
|
||||
getPolicyOptions={() => withTemplateVariableOptions(getAllPolicies(datasource), wrapPure)}
|
||||
getMeasurementOptions={(filter) =>
|
||||
withTemplateVariableOptions(
|
||||
allTagKeys.then((keys) =>
|
||||
|
Loading…
Reference in New Issue
Block a user