Skip to content

Commit

Permalink
cloudflare provider fixed for multi-target
Browse files Browse the repository at this point in the history
  • Loading branch information
multi-io committed Nov 1, 2017
1 parent ffe076d commit 2d45bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/cloudflare.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (p *CloudFlareProvider) changesByZone(zones []cloudflare.Zone, changeSet []

func (p *CloudFlareProvider) getRecordID(records []cloudflare.DNSRecord, record cloudflare.DNSRecord) string {
for _, zoneRecord := range records {
if zoneRecord.Name == record.Name && zoneRecord.Type == record.Type {
if zoneRecord.Name == record.Name && zoneRecord.Type == record.Type && zoneRecord.Content == record.Content {
return zoneRecord.ID
}
}
Expand Down

0 comments on commit 2d45bc2

Please sign in to comment.