mirror of
https://github.com/TwiN/gatus.git
synced 2026-04-08 19:29:06 +00:00
* fix: return error from rdapQuery when no expiration event found When an RDAP response has no expiration event, rdapQuery returned a zero-value ExpirationDate with nil error. This prevented GetDomainExpiration from falling back to WHOIS, causing failures for TLDs like .net where RDAP may omit the expiration event. Signed-off-by: majiayu000 <1835304752@qq.com> * fix: include hostname in RDAP error and add .net domain tests Add .net domain test cases to TestRdapQuery and TestGetDomainExpiration to cover the fallback path when RDAP lacks an expiration event (#1570). Include hostname in the error message for easier debugging. Signed-off-by: majiayu000 <1835304752@qq.com> --------- Signed-off-by: majiayu000 <1835304752@qq.com>