From a832515ad52013ff13db51e003314f1d7d8af1a3 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Wed, 10 Apr 2024 11:19:21 +0200 Subject: [PATCH] chore: fix typos --- providers/dns/arvancloud/arvancloud.go | 2 +- providers/dns/hetzner/hetzner.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/dns/arvancloud/arvancloud.go b/providers/dns/arvancloud/arvancloud.go index 743713db..759d1922 100644 --- a/providers/dns/arvancloud/arvancloud.go +++ b/providers/dns/arvancloud/arvancloud.go @@ -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 diff --git a/providers/dns/hetzner/hetzner.go b/providers/dns/hetzner/hetzner.go index facffea4..5b2112d7 100644 --- a/providers/dns/hetzner/hetzner.go +++ b/providers/dns/hetzner/hetzner.go @@ -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