Skip to content

Commit

Permalink
Add info for geo point too
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoriano committed Aug 7, 2019
1 parent 8ab0b49 commit 64483f5
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 @@ -131,7 +131,7 @@ func (f *Field) validateType() error {
case "date", "date_nanos":
return errors.Wrapf(validateFormat(f.Format, "date"), "field %s", f.Name)
case "geo_point":
return validateFormat(f.Format, "geo_point")
return errors.Wrapf(validateFormat(f.Format, "geo_point"), "field %s", f.Name)
case "boolean", "binary", "ip", "alias", "array":
if f.Format != "" {
return fmt.Errorf("no format expected for field %s, found: %s", f.Name, f.Format)
Expand Down

0 comments on commit 64483f5

Please sign in to comment.