Skip to content

Commit

Permalink
fix check for update recordset
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWeindel committed Jan 15, 2025
1 parent 0584230 commit b97d940
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/dns/provider/changemodel.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,9 @@ func (this *ChangeModel) Exec(apply bool, delete bool, name dns.DNSSetName, upda
}
mod = true
} else {
olddns := oldset.Sets[recordType]
newdns := newset.Sets[recordType]
if olddns.Match(newdns) {
olddns := oldset.Name
newdns := newset.Name
if olddns == newdns {
if !curset.Match(recordSet) || !reflect.DeepEqual(spec.RoutingPolicy(), oldset.RoutingPolicy) {
if apply {
view.addUpdateRequest(oldset, newset, recordType, done)
Expand Down

0 comments on commit b97d940

Please sign in to comment.