mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
@@ -41,7 +41,7 @@ func (n *nameDotCom) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Co
|
|||||||
corrections = append(corrections, c)
|
corrections = append(corrections, c)
|
||||||
}
|
}
|
||||||
for _, cre := range create {
|
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) }}
|
c := &models.Correction{Msg: cre.String(), F: func() error { return n.createRecord(rec, dc.Name) }}
|
||||||
corrections = append(corrections, c)
|
corrections = append(corrections, c)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user