chore: fix typos

This commit is contained in:
Fernandez Ludovic 2024-04-10 11:19:21 +02:00
parent ef9086a0f9
commit a832515ad5
2 changed files with 2 additions and 2 deletions

View file

@ -166,7 +166,7 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
}
if err := d.client.DeleteRecord(context.Background(), authZone, recordID); err != nil {
return fmt.Errorf("arvancloud: failed to delate TXT record: id=%s: %w", recordID, err)
return fmt.Errorf("arvancloud: failed to delete TXT record: id=%s: %w", recordID, err)
}
// deletes record ID from map

View file

@ -164,7 +164,7 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
}
if err := d.client.DeleteRecord(ctx, record.ID); err != nil {
return fmt.Errorf("hetzner: failed to delate TXT record: id=%s, name=%s: %w", record.ID, record.Name, err)
return fmt.Errorf("hetzner: failed to delete TXT record: id=%s, name=%s: %w", record.ID, record.Name, err)
}
return nil