Fix variable name
This commit is contained in:
parent
4c5da710e1
commit
8363878c87
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ func contains(c api.Config, val string) bool {
|
|||
}
|
||||
|
||||
func updateDNSRecord(a api.API, domain, recordID string, newRecord api.DNSRecord) error {
|
||||
addr := net.ParseIP(record.Content)
|
||||
addr := net.ParseIP(newRecord.Content)
|
||||
|
||||
if addr != nil {
|
||||
log.Logger.Printf("Deleting DNS record for %s.\n", newRecord.Name)
|
||||
|
|
Loading…
Reference in a new issue