chore: fix typos
This commit is contained in:
parent
ef9086a0f9
commit
a832515ad5
2 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := d.client.DeleteRecord(context.Background(), authZone, recordID); err != nil {
|
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
|
// deletes record ID from map
|
||||||
|
|
|
@ -164,7 +164,7 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := d.client.DeleteRecord(ctx, record.ID); err != nil {
|
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
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue