Skip to content

Commit

Permalink
fix unused params in: providers/rwth
Browse files Browse the repository at this point in the history
  • Loading branch information
tlimoncelli committed Mar 4, 2024
1 parent e589a8e commit 454f59f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/rwth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion providers/rwth/dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 454f59f

Please # to comment.