mirror of
https://github.com/go-acme/lego.git
synced 2025-03-30 17:38:13 +02:00
Change maximum zone number requested from Route53 to Math.MaxInt32 from MaxInt64.
Fixes #79.
This commit is contained in:
parent
5992793edd
commit
50be32a69e
@ -2,10 +2,11 @@ package acme
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/mitchellh/goamz/aws"
|
||||
"github.com/mitchellh/goamz/route53"
|
||||
"math"
|
||||
"strings"
|
||||
|
||||
"github.com/mitchellh/goamz/aws"
|
||||
"github.com/mitchellh/goamz/route53"
|
||||
)
|
||||
|
||||
// DNSProviderRoute53 is an implementation of the DNSProvider interface
|
||||
@ -63,7 +64,7 @@ func (r *DNSProviderRoute53) changeRecord(action, fqdn, value string, ttl int) e
|
||||
}
|
||||
|
||||
func (r *DNSProviderRoute53) getHostedZoneID(fqdn string) (string, error) {
|
||||
zoneResp, err := r.client.ListHostedZones("", math.MaxInt64)
|
||||
zoneResp, err := r.client.ListHostedZones("", math.MaxInt32)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user