From 45e9ed9a3f0043eaa80aeb520faf74dd6be77ec1 Mon Sep 17 00:00:00 2001 From: Dennis Haney Date: Thu, 17 Oct 2024 08:25:40 +0200 Subject: [PATCH] feat: log when endpoint ignored due to ownerid not match --- plan/plan.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plan/plan.go b/plan/plan.go index d0ca7f96a..204d616d6 100644 --- a/plan/plan.go +++ b/plan/plan.go @@ -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) + } } } }