Add missing return
This commit is contained in:
parent
ed4428e846
commit
4c5da710e1
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ func updateDNSRecord(a api.API, domain, recordID string, newRecord api.DNSRecord
|
||||||
return a.CreateDNSRecord(domain, newRecord)
|
return a.CreateDNSRecord(domain, newRecord)
|
||||||
} else {
|
} else {
|
||||||
log.Logger.Printf("Unable to parse IP: %s\n", newRecord)
|
log.Logger.Printf("Unable to parse IP: %s\n", newRecord)
|
||||||
|
return nil;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue