forked from TrueCloudLab/lego
alicloud: fix pagination. (#767)
This commit is contained in:
parent
977aa94061
commit
4f6d1077a2
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ func (d *DNSProvider) getHostedZone(domain string) (string, string, error) {
|
||||||
|
|
||||||
domains = append(domains, response.Domains.Domain...)
|
domains = append(domains, response.Domains.Domain...)
|
||||||
|
|
||||||
if response.PageNumber >= response.PageSize {
|
if response.PageNumber*response.PageSize >= response.TotalCount {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue