1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Fix bug in name.com provider

Fixes #28
This commit is contained in:
Craig Peterson
2017-01-13 12:30:04 -07:00
parent e8486c6868
commit 0d386c20ec

View File

@ -41,7 +41,7 @@ func (n *nameDotCom) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Co
corrections = append(corrections, c)
}
for _, cre := range create {
rec := cre.Desired.Original.(*models.RecordConfig)
rec := cre.Desired
c := &models.Correction{Msg: cre.String(), F: func() error { return n.createRecord(rec, dc.Name) }}
corrections = append(corrections, c)
}