feat: log when endpoint ignored due to ownerid not match

This commit is contained in:
Dennis Haney 2024-10-17 08:25:40 +02:00 committed by GitHub
parent 59b243856a
commit 45e9ed9a3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -240,6 +240,10 @@ 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[OwnerLabelKey], p.OwnerID)
}
}
}
}