1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

fix unused params in: providers/hostingde

This commit is contained in:
Tom Limoncelli
2024-03-04 10:26:10 -05:00
parent 4a1340b97c
commit 004dc4d15a

View File

@@ -178,9 +178,10 @@ func (hp *hostingdeProvider) GetZoneRecordsCorrections(dc *models.DomainConfig,
}
defaultSoa := &hp.defaultSoa
if defaultSoa == nil {
defaultSoa = &soaValues{}
}
// Commented out because this can not happen:
// if defaultSoa == nil {
// defaultSoa = &soaValues{}
// }
newSOA := soaValues{
Refresh: firstNonZero(desiredSoa.SoaRefresh, defaultSoa.Refresh, 86400),