1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
This commit is contained in:
Tom Limoncelli
2020-07-06 20:18:24 -04:00
committed by GitHub
parent 367a14ab44
commit 541bb805da
21 changed files with 45 additions and 97 deletions

View File

@@ -51,7 +51,7 @@ func newRoute53(m map[string]string, metadata json.RawMessage) (*route53Provider
}
sess := session.Must(session.NewSession(config))
var dls *string = nil
var dls *string
if val, ok := m["DelegationSet"]; ok {
fmt.Printf("ROUTE53 DelegationSet %s configured\n", val)
dls = sPtr(val)
@@ -91,7 +91,7 @@ func withRetry(f func() error) {
const maxRetries = 23
// TODO: exponential backoff
const sleepTime = 5 * time.Second
var currentRetry int = 0
var currentRetry int
for {
err := f()
if err == nil {