gatus/core
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
..
ui refactor(badge): Fix formatting 2022-08-10 21:09:22 -04:00
condition_bench_test.go Add configuration for whether to resolve failed conditions or not 2021-09-14 19:34:46 -04:00
condition_result.go Replace - by _ in file names 2021-07-02 20:04:05 -04:00
condition_test.go fix(condition): Partially support numbers with floating point (#434) 2023-02-15 19:30:29 -05:00
condition.go fix(condition): Partially support numbers with floating point (#434) 2023-02-15 19:30:29 -05:00
dns_test.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
dns.go Rename Service to Endpoint (#192) 2021-10-23 16:47:12 -04:00
endpoint_status_test.go Rename Service to Endpoint (#192) 2021-10-23 16:47:12 -04:00
endpoint_status.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
endpoint_test.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
endpoint.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
event_test.go Add test for NewEventFromResult 2021-09-06 16:34:03 -04:00
event.go Rename Service to Endpoint (#192) 2021-10-23 16:47:12 -04:00
result_test.go Fix #123: Deduplicate result errors 2021-06-05 18:50:24 -04:00
result.go feat: Add [DOMAIN_EXPIRATION] placeholder for monitoring domain expiration using WHOIS (#325) 2022-09-06 21:22:02 -04:00
uptime.go Remove old memory uptime implementation and auto migration 2021-09-06 13:28:35 -04:00