Skip to content

Commit

Permalink
fix: delete
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Nov 20, 2024
1 parent 160e160 commit a814670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/dns/westcn/westcn.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
return fmt.Errorf("westcn: unknown record ID for '%s' '%s'", info.EffectiveFQDN, token)
}

err = d.client.DeleteRecord(context.Background(), authZone, recordID)
err = d.client.DeleteRecord(context.Background(), dns01.UnFqdn(authZone), recordID)
if err != nil {
return fmt.Errorf("westcn: delete record: %w", err)
}
Expand Down

0 comments on commit a814670

Please sign in to comment.