net.resolvers.basic: Fix incorrect field name (thanks CI)

This commit is contained in:
Matthew Wild 2022-03-18 20:14:20 +00:00
parent a188ece31a
commit 860f7d6b7d

View file

@ -80,7 +80,7 @@ function methods:next(cb)
local dns_lookups = {
ipv4 = do_dns_lookup(self, dns_resolver, "A", self.hostname);
ipv6 = do_dns_lookup(self, dns_resolver, "AAAA", self.hostname);
tlsa = do_dns_lookup(self, dns_resolver, "TLSA", ("_%d._%s.%s"):format(self.port, self.conntype, self.hostname));
tlsa = do_dns_lookup(self, dns_resolver, "TLSA", ("_%d._%s.%s"):format(self.port, self.conn_type, self.hostname));
};
promise.all_settled(dns_lookups):next(function (dns_results)