[v10.1.x] InfluxDB: Fix fetching retention policies after manually entering a non-existent retention policy (#72643)
InfluxDB: Fix fetching retention policies after manually entering a non-existent retention policy (#72564)
Don't fetch tag keys before fetching policies
(cherry picked from commit 31f4eddbb6)
This commit is contained in:
+1
-6
@@ -133,12 +133,7 @@ export const VisualInfluxQLEditor = (props: Props): JSX.Element => {
|
|||||||
<FromSection
|
<FromSection
|
||||||
policy={policy}
|
policy={policy}
|
||||||
measurement={measurement}
|
measurement={measurement}
|
||||||
getPolicyOptions={() =>
|
getPolicyOptions={() => withTemplateVariableOptions(getAllPolicies(datasource), wrapPure)}
|
||||||
withTemplateVariableOptions(
|
|
||||||
allTagKeys.then(() => getAllPolicies(datasource)),
|
|
||||||
wrapPure
|
|
||||||
)
|
|
||||||
}
|
|
||||||
getMeasurementOptions={(filter) =>
|
getMeasurementOptions={(filter) =>
|
||||||
withTemplateVariableOptions(
|
withTemplateVariableOptions(
|
||||||
allTagKeys.then((keys) =>
|
allTagKeys.then((keys) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user