Skip to content

Commit

Permalink
fix(discover): disable cache only on indexPatterns.get to prevent c…
Browse files Browse the repository at this point in the history
…rash (opensearch-project#7926)

Signed-off-by: Joshua Li <[email protected]>
  • Loading branch information
joshuali925 authored Sep 3, 2024
1 parent c7843fe commit 5115b1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const updateSearchSource = async ({

const dataset =
indexPattern.id === queryDataset?.id
? await data.indexPatterns.get(queryDataset?.id!, true)
? await data.indexPatterns.get(queryDataset?.id!)
: indexPattern;

const sortForSearchSource = getSortForSearchSource(
Expand Down

0 comments on commit 5115b1c

Please sign in to comment.