Skip to content

Commit

Permalink
[TSVB] Index patterns are incorrectly cached
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Apr 13, 2021
1 parent d80c257 commit 7787e87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const getCachedIndexPatternFetcher = (indexPatternsService: IndexPatterns

const fetchedIndex = fetchIndexPattern(indexPatternValue, indexPatternsService);

cache.set(indexPatternValue, fetchedIndex);
cache.set(key, fetchedIndex);

return fetchedIndex;
};
Expand Down

0 comments on commit 7787e87

Please sign in to comment.