mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-04 22:26:11 +02:00
Update plan/plan.go
Co-authored-by: Raffaele Di Fazio <raffo@github.com>
This commit is contained in:
parent
4fa1dc87fa
commit
5888e85493
@ -241,9 +241,11 @@ func (p *Plan) Calculate() *Plan {
|
||||
if ownersMatch {
|
||||
changes.Create = append(changes.Create, creates...)
|
||||
} else {
|
||||
for _, current := range row.current {
|
||||
log.Debugf(`Skipping endpoint %v because owner id does not match for one or more items to create, found: "%s", required: "%s"`, current, current.Labels[endpoint.OwnerLabelKey], p.OwnerID)
|
||||
}
|
||||
if log.GetLevel() == log.DebugLevel {
|
||||
for _, current := range row.current {
|
||||
log.Debugf(`Skipping endpoint %v because owner id does not match for one or more items to create, found: "%s", required: "%s"`, current, current.Labels[endpoint.OwnerLabelKey], p.OwnerID)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user