mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-05 22:56:09 +02:00
Update endpoint/endpoint.go
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
This commit is contained in:
parent
dc9e0a5816
commit
b5ef2fc913
@ -102,6 +102,7 @@ func (t Targets) Same(o Targets) bool {
|
||||
|
||||
for i, e := range t {
|
||||
if !strings.EqualFold(e, o[i]) {
|
||||
// IPv6 can be shortened, so it should be parsed for equality checking
|
||||
ipA, err := netip.ParseAddr(e)
|
||||
if err != nil {
|
||||
log.WithFields(log.Fields{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user