Libbeat mapstriface.go: Error message is misleading #18662
Labels
good first issue
Indicates a good issue for first-time contributors
Team:Services
(Deprecated) Label for the former Integrations-Services team
The error message from
https://github.com/elastic/beats/blob/master/libbeat/common/schema/mapstriface/mapstriface.go 105
is misleading. It is not displaying the type of the errored value properly. They are always displayed as map[string]interface {}.A type switch should be used there instead of cast.
The text was updated successfully, but these errors were encountered: