Skip to content

Commit

Permalink
Update install.ts
Browse files Browse the repository at this point in the history
Use new `dataTypes` const which replaced `DataType` enum
  • Loading branch information
John Schulz authored Nov 3, 2020
1 parent 8e774ef commit f0ecbc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export interface IndexPatternField {
readFromDocValues: boolean;
}

export const indexPatternTypes = [DataType.logs, DataType.metrics];
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
Expand Down

0 comments on commit f0ecbc4

Please sign in to comment.