Skip to content

Commit

Permalink
Adds support for 'ip' data type
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Dec 5, 2020
1 parent aa2525c commit 26d7c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/canvas/server/lib/normalize_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

export function normalizeType(type: string) {
const normalTypes: Record<string, string[]> = {
string: ['string', 'text', 'keyword', '_type', '_id', '_index', 'geo_point'],
string: ['string', 'text', 'keyword', '_type', '_id', '_index', 'geo_point', 'ip'],
number: [
'float',
'half_float',
Expand Down

0 comments on commit 26d7c51

Please sign in to comment.