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

View file

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