[go: up one dir, main page]

Skip to content

Commit

Permalink
Update plan/plan.go
Browse files Browse the repository at this point in the history
Co-authored-by: Raffaele Di Fazio <raffo@github.com>
  • Loading branch information
davhdavh and Raffo authored Oct 30, 2024
1 parent 4fa1dc8 commit 5888e85
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions plan/plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
}
}
Expand Down

0 comments on commit 5888e85

Please sign in to comment.