mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-12-17 17:51:31 +01:00
fix(coredns): debug message on labels update (#5789)
* coredns: fix debug message * consistent spacing in debug message Co-authored-by: Ivan Ka <5395690+ivankatliarchuk@users.noreply.github.com> --------- Co-authored-by: Pascal Bachor <bachorp@users.noreply.github.com> Co-authored-by: Ivan Ka <5395690+ivankatliarchuk@users.noreply.github.com>
This commit is contained in:
parent
6b9e0174e7
commit
e88b94bdee
@ -302,8 +302,8 @@ func (p coreDNSProvider) groupEndpoints(changes *plan.Changes) map[string][]*end
|
||||
grouped[ep.DNSName] = append(grouped[ep.DNSName], ep)
|
||||
}
|
||||
for i, ep := range changes.UpdateNew {
|
||||
log.Debugf("Updating labels (%s) with old labels (%s)", ep.Labels, changes.UpdateOld[i].Labels)
|
||||
ep.Labels = changes.UpdateOld[i].Labels
|
||||
log.Debugf("Updating labels (%s) with old labels(%s)", ep.Labels, changes.UpdateOld[i].Labels)
|
||||
grouped[ep.DNSName] = append(grouped[ep.DNSName], ep)
|
||||
}
|
||||
return grouped
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user