1
0
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:
Ludovic Fernandez 2019-01-24 19:56:19 +01:00 committed by GitHub
parent 977aa94061
commit 4f6d1077a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}