mirror of
https://github.com/go-acme/lego.git
synced 2024-12-01 10:41:09 +02:00
vultr: quote TXT record (#940)
This commit is contained in:
parent
58d6d9f476
commit
905b1eb80b
@ -90,7 +90,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error {
|
||||
|
||||
name := d.extractRecordName(fqdn, zoneDomain)
|
||||
|
||||
err = d.client.DNSRecord.Create(ctx, zoneDomain, "TXT", name, value, d.config.TTL, 0)
|
||||
err = d.client.DNSRecord.Create(ctx, zoneDomain, "TXT", name, `"`+value+`"`, d.config.TTL, 0)
|
||||
if err != nil {
|
||||
return fmt.Errorf("vultr: API call failed: %v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user