From f84206afefdf1a1ce3562c16319955d2bf254885 Mon Sep 17 00:00:00 2001 From: John Schulz Date: Tue, 3 Nov 2020 16:28:48 -0500 Subject: [PATCH] Update install.ts fix (?) bad updates from before where new/correct value was used but result wasn't exported --- .../server/services/epm/kibana/index_pattern/install.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/ingest_manager/server/services/epm/kibana/index_pattern/install.ts b/x-pack/plugins/ingest_manager/server/services/epm/kibana/index_pattern/install.ts index 366c5306a2969..ca4be05f39edd 100644 --- a/x-pack/plugins/ingest_manager/server/services/epm/kibana/index_pattern/install.ts +++ b/x-pack/plugins/ingest_manager/server/services/epm/kibana/index_pattern/install.ts @@ -77,6 +77,7 @@ export interface IndexPatternField { readFromDocValues: boolean; } +const indexPatternTypes = Object.values(dataTypes); // TODO: use a function overload and make pkgName and pkgVersion required for install/update // and not for an update removal. or separate out the functions export async function installIndexPatterns(