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:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user