Merge pull request #29 from StackExchange/ncomfix

Fix bug in name.com provider
This commit is contained in:
Tom Limoncelli 2017-01-13 14:35:37 -05:00 committed by GitHub
commit 4c448422dd

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)
}