mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
adding no_purge to cloudflare (#110)
This commit is contained in:
committed by
Craig Peterson
parent
6565462962
commit
22fb25af36
@@ -103,6 +103,9 @@ func (c *CloudflareApi) GetDomainCorrections(dc *models.DomainConfig) ([]*models
|
||||
corrections := []*models.Correction{}
|
||||
|
||||
for _, d := range del {
|
||||
if dc.KeepUnknown {
|
||||
continue
|
||||
}
|
||||
corrections = append(corrections, c.deleteRec(d.Existing.Original.(*cfRecord), id))
|
||||
}
|
||||
for _, d := range create {
|
||||
|
||||
Reference in New Issue
Block a user