ns1: fix missing domain in log (#1105)
This commit is contained in:
parent
6b6ab3fd51
commit
cd52839f18
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error {
|
||||||
|
|
||||||
// Create a new record
|
// Create a new record
|
||||||
if err == rest.ErrRecordMissing || record == nil {
|
if err == rest.ErrRecordMissing || record == nil {
|
||||||
log.Infof("Create a new record for [zone: %s, fqdn: %s, domain: %s]", zone.Zone, fqdn)
|
log.Infof("Create a new record for [zone: %s, fqdn: %s, domain: %s]", zone.Zone, fqdn, domain)
|
||||||
|
|
||||||
record = dns.NewRecord(zone.Zone, dns01.UnFqdn(fqdn), "TXT")
|
record = dns.NewRecord(zone.Zone, dns01.UnFqdn(fqdn), "TXT")
|
||||||
record.TTL = d.config.TTL
|
record.TTL = d.config.TTL
|
||||||
|
|
Loading…
Reference in a new issue