elastic / go-elasticsearch

The official Go client for Elasticsearch
https://github.com/elastic/go-elasticsearch#go-elasticsearch
Apache License 2.0
51 stars 617 forks source link

Fix positive infinity unmarshalling #727

Closed xlucas closed 1 year ago

xlucas commented 1 year ago

Unfortunately #715 contained a subtle error because the representation of positive infinity in JSON as returned by Elasticsearch is "Infinity" and not "+Infinity".

elasticmachine commented 1 year ago

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

cla-checker-service[bot] commented 1 year ago

💚 CLA has been signed

Anaethelion commented 1 year ago

Hi! Thank you for the report, I've fixed this in #731