Skip to content

Commit e88b94b

Browse files
fix(coredns): debug message on labels update (#5789)
* coredns: fix debug message * consistent spacing in debug message Co-authored-by: Ivan Ka <[email protected]> --------- Co-authored-by: Pascal Bachor <[email protected]> Co-authored-by: Ivan Ka <[email protected]>
1 parent 6b9e017 commit e88b94b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/coredns/coredns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,8 @@ func (p coreDNSProvider) groupEndpoints(changes *plan.Changes) map[string][]*end
302302
grouped[ep.DNSName] = append(grouped[ep.DNSName], ep)
303303
}
304304
for i, ep := range changes.UpdateNew {
305+
log.Debugf("Updating labels (%s) with old labels (%s)", ep.Labels, changes.UpdateOld[i].Labels)
305306
ep.Labels = changes.UpdateOld[i].Labels
306-
log.Debugf("Updating labels (%s) with old labels(%s)", ep.Labels, changes.UpdateOld[i].Labels)
307307
grouped[ep.DNSName] = append(grouped[ep.DNSName], ep)
308308
}
309309
return grouped

0 commit comments

Comments
 (0)