Revision b7cc39f8
Added by Dominic Cleal over 7 years ago
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
fixes #17197 - don't update DNS on ip6 change to empty string