mirror of
https://github.com/go-acme/lego.git
synced 2024-11-29 01:42:09 +02:00
alicloud: fix pagination. (#767)
This commit is contained in:
parent
977aa94061
commit
4f6d1077a2
@ -150,7 +150,7 @@ func (d *DNSProvider) getHostedZone(domain string) (string, string, error) {
|
||||
|
||||
domains = append(domains, response.Domains.Domain...)
|
||||
|
||||
if response.PageNumber >= response.PageSize {
|
||||
if response.PageNumber*response.PageSize >= response.TotalCount {
|
||||
break
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user