mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-04 14:21:33 +02:00
fix: lint
This commit is contained in:
parent
4238316c47
commit
2c19f59cf5
@ -240,11 +240,9 @@ func (p *Plan) Calculate() *Plan {
|
||||
|
||||
if ownersMatch {
|
||||
changes.Create = append(changes.Create, creates...)
|
||||
} else {
|
||||
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)
|
||||
}
|
||||
} else 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