mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-10 09:12:47 +08:00
fix unused params in: providers/rwth
This commit is contained in:
parent
e589a8e1fc
commit
454f59f3d6
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ func checkIsLockedSystemRecord(record *models.RecordConfig) error {
|
||||||
return nil
|
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 {
|
if err := checkIsLockedSystemRecord(record); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@ func (api *rwthProvider) GetZoneRecordsCorrections(dc *models.DomainConfig, exis
|
||||||
des := d.Desired
|
des := d.Desired
|
||||||
corrections = append(corrections, &models.Correction{
|
corrections = append(corrections, &models.Correction{
|
||||||
Msg: d.String(),
|
Msg: d.String(),
|
||||||
F: func() error { return api.createRecord(dc.Name, des) },
|
F: func() error { return api.createRecord(des) },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
for _, d := range del {
|
for _, d := range del {
|
||||||
|
|
Loading…
Reference in a new issue