1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00
twin-gatus/jsonpath
TwiN 6ab8899dc6
fix(condition): Partially support numbers with floating point (#434)
* docs: Don't include Pushover in alerting provider examples

* fix(condition): Partially support numbers with floating point

Fixes #433

Does not add support for decimal numbers, but it converts float64 to int64.
The reason why I'm not just using float64 instead of int64 is because float64 does not support all the numbers that int64 supports, which means this would be a breaking change. Instead, this change at least supports the non-decimal part of floating point numbers.

This is an improvement over the current implementation, as right now, numbers with decimals are just converted to 0 when compared using a non-equal operator
2023-02-15 19:30:29 -05:00
..
jsonpath.go fix: Prevent jsonpath from causing panic when body is expected to be array but isn't (#392) 2022-12-23 09:55:17 -05:00
jsonpath_bench_test.go perf: Improve jsonpath speed (#348) 2022-10-19 15:52:20 -04:00
jsonpath_test.go fix(condition): Partially support numbers with floating point (#434) 2023-02-15 19:30:29 -05:00