checker: build host FQDN from subdomain + apex at service scope
This commit is contained in:
parent
603e93355b
commit
77f8ee4024
5 changed files with 31 additions and 7 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue