Merge pull request #6669 from wallrj/stop-using-deprecated-singleinflight-field
Stop using the deprecated SingleInflight field of miekg/dns
This commit is contained in:
commit
8c7fc0672d
@ -34,4 +34,4 @@ issues:
|
||||
text: "SA(1002|1006|4000|4006)"
|
||||
- linters:
|
||||
- staticcheck
|
||||
text: "(NewCertManagerBasicCertificate|DeprecatedCertificateTemplateFromCertificateRequestAndAllowInsecureCSRUsageDefinition|testCA.Subjects|RootCAs.Subjects|pki.GenerateTemplate|c.SingleInflight)"
|
||||
text: "(NewCertManagerBasicCertificate|DeprecatedCertificateTemplateFromCertificateRequestAndAllowInsecureCSRUsageDefinition|testCA.Subjects|RootCAs.Subjects|pki.GenerateTemplate)"
|
||||
|
||||
@ -127,7 +127,6 @@ func (r *DNSProvider) changeRecord(action, fqdn, zone, value string, ttl int) er
|
||||
// Setup client
|
||||
c := new(dns.Client)
|
||||
c.TsigProvider = tsigHMACProvider(r.tsigSecret)
|
||||
c.SingleInflight = true
|
||||
// TSIG authentication / msg signing
|
||||
if len(r.tsigKeyName) > 0 && len(r.tsigSecret) > 0 {
|
||||
m.SetTsig(dns.Fqdn(r.tsigKeyName), r.tsigAlgorithm, 300, time.Now().Unix())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user