first pass, make RData optional in Record
This commit is contained in:

committed by
Dirkjan Ochtman

parent
0ac5d416a1
commit
61da37009e
@@ -431,7 +431,7 @@ impl<C: DnsHandle<Error = ResolveError>, P: ConnectionProvider<Conn = C>> AsyncR
|
||||
self.client_cache.clone(),
|
||||
DnsRequestOptions::default(),
|
||||
hosts,
|
||||
finally_ip_addr.map(Record::into_data),
|
||||
finally_ip_addr.and_then(Record::into_data),
|
||||
)
|
||||
.await
|
||||
}
|
||||
|
Reference in New Issue
Block a user