Skip to content

Commit

Permalink
Remove wildcard type
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewvc committed Apr 28, 2020
1 parent 4440aa6 commit 9a72695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/mapping/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (f *Field) Validate() error {

func (f *Field) validateType() error {
switch strings.ToLower(f.Type) {
case "text", "keyword", "wildcard":
case "text", "keyword":
return stringType.validate(f.Format)
case "long", "integer", "short", "byte", "double", "float", "half_float", "scaled_float":
return numberType.validate(f.Format)
Expand Down

0 comments on commit 9a72695

Please sign in to comment.