[v10.0.x] InfluxDB: Fix fetching retention policies after manually entering a non-existent retention policy (#72641)
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:
@@ -161,12 +161,7 @@ export const Editor = (props: Props): JSX.Element => {
|
||||
<FromSection
|
||||
policy={policy ?? retentionPolicies[0]}
|
||||
measurement={measurement}
|
||||
getPolicyOptions={() =>
|
||||
withTemplateVariableOptions(
|
||||
allTagKeys.then((keys) => getAllPolicies(datasource)),
|
||||
wrapPure
|
||||
)
|
||||
}
|
||||
getPolicyOptions={() => withTemplateVariableOptions(getAllPolicies(datasource), wrapPure)}
|
||||
getMeasurementOptions={(filter) =>
|
||||
withTemplateVariableOptions(
|
||||
allTagKeys.then((keys) =>
|
||||
|
||||
Reference in New Issue
Block a user