mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
fix unused params in: providers/rwth
This commit is contained in:
@ -66,7 +66,7 @@ func checkIsLockedSystemRecord(record *models.RecordConfig) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (api *rwthProvider) createRecord(domain string, record *models.RecordConfig) error {
|
||||
func (api *rwthProvider) createRecord(record *models.RecordConfig) error {
|
||||
if err := checkIsLockedSystemRecord(record); err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ func (api *rwthProvider) GetZoneRecordsCorrections(dc *models.DomainConfig, exis
|
||||
des := d.Desired
|
||||
corrections = append(corrections, &models.Correction{
|
||||
Msg: d.String(),
|
||||
F: func() error { return api.createRecord(dc.Name, des) },
|
||||
F: func() error { return api.createRecord(des) },
|
||||
})
|
||||
}
|
||||
for _, d := range del {
|
||||
|
Reference in New Issue
Block a user