fix unused params in: providers/rwth

This commit is contained in:
Tom Limoncelli 2024-03-04 10:25:38 -05:00
parent e589a8e1fc
commit 454f59f3d6
2 changed files with 2 additions and 2 deletions

View file

@ -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
}

View file

@ -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 {