mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-09 06:35:29 +08:00
parent
e8486c6868
commit
0d386c20ec
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue