Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Jul 18, 2024
1 parent 07cb2e1 commit c0311e8
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ export function WorkflowInputs(props: WorkflowInputsProps) {
queryObj = JSON.parse(props.query);
} catch (e) {}
if (!isEmpty(queryObj)) {
// TODO: currently this will execute deprovision in child fns.
// In the future, we must omit deprovisioning the index, as it contains
// the data we are executing the query against. Tracking issue:
// https://github.com/opensearch-project/flow-framework/issues/717
success = await validateAndUpdateWorkflow();
if (success) {
const indexName = values.ingest.index.name;
Expand Down

0 comments on commit c0311e8

Please sign in to comment.