clouddns: use fqdn for challenge cleanup

This is the same as the problem fixed in #750, but for cleanup.
This commit is contained in:
Louis Taylor 2018-07-22 20:15:55 +01:00
parent 398e1560a3
commit bcf135c7ae
No known key found for this signature in database
GPG Key ID: 8E81A6DAE13E7098

View File

@ -149,7 +149,7 @@ func (c *DNSProvider) Present(domain, token, key string) error {
func (c *DNSProvider) CleanUp(domain, token, key string) error {
fqdn, _, _ := util.DNS01Record(domain, key)
zone, err := c.getHostedZone(domain)
zone, err := c.getHostedZone(fqdn)
if err != nil {
return err
}