Project

General

Profile

« Previous | Next » 

Revision 0f61bf7e

Added by Dominic Cleal over 7 years ago

fixes #17197 - don't update DNS on ip6 change to empty string

(cherry picked from commit b7cc39f867cc4092cebd173ee3dec05202a96321)

View differences:

app/models/concerns/orchestration/dns.rb
end
def pending_dns_record_changes?
old.ip != ip || old.ip6 != ip6 || old.hostname != hostname
!attr_equivalent?(old.ip, ip) || !attr_equivalent?(old.ip6, ip6) || !attr_equivalent?(old.hostname, hostname)
end
def dns_conflict_detected?

Also available in: Unified diff