checker: build host FQDN from subdomain + apex at service scope

This commit is contained in:
nemunaire 2026-04-29 17:35:31 +07:00
commit 77f8ee4024
5 changed files with 31 additions and 7 deletions

View file

@ -227,7 +227,7 @@ func TestAddressesFromServer(t *testing.T) {
}
for _, c := range cases {
t.Run(c.name, func(t *testing.T) {
host, ips := addressesFromServer(c.srv)
host, ips := addressesFromServer(c.srv, "")
if host != c.wantHost {
t.Errorf("host = %q, want %q", host, c.wantHost)
}