chore: update dns fn name
This commit is contained in:
@@ -20,7 +20,7 @@ impl AlibabaCloudDnsClient {
|
||||
}
|
||||
|
||||
impl DnsClient for AlibabaCloudDnsClient {
|
||||
fn list_dns(&mut self, domain: &str) -> XResult<Vec<crate::dns::DnsRecord>> {
|
||||
fn list_dns_records(&mut self, domain: &str) -> XResult<Vec<crate::dns::DnsRecord>> {
|
||||
let list_dns_response = opt_result!(list_dns(&self.client, domain)?, "List dns records failed: {:?}");
|
||||
let mut dns_records = vec![];
|
||||
list_dns_response.domain_records.record.into_iter().for_each(|record| {
|
||||
|
||||
Reference in New Issue
Block a user