From 0d386c20ec73f13ec104310ac51583221329daf4 Mon Sep 17 00:00:00 2001 From: Craig Peterson Date: Fri, 13 Jan 2017 12:30:04 -0700 Subject: [PATCH] Fix bug in name.com provider Fixes #28 --- providers/namedotcom/records.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/namedotcom/records.go b/providers/namedotcom/records.go index 5536ab287..c31a06917 100644 --- a/providers/namedotcom/records.go +++ b/providers/namedotcom/records.go @@ -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) }