Skip to content

Commit

Permalink
tencentcloud: fix InvalidParameter.DomainInvalid error when using DNS…
Browse files Browse the repository at this point in the history
… challenges (#1616)
  • Loading branch information
charlie0129 authored Apr 3, 2022
1 parent 2c0aaf7 commit 6641400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/dns/tencentcloud/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func getDomainData(fqdn string) (*domainData, error) {
}

return &domainData{
domain: zone,
domain: dns01.UnFqdn(zone),
subDomain: dns01.UnFqdn(strings.TrimSuffix(fqdn, zone)),
}, nil
}
Expand Down

0 comments on commit 6641400

Please sign in to comment.