Skip to content

Commit ef42fba

Browse files
committed
📝 Note for the future.
1 parent f5e47ac commit ef42fba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎components/migrations.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ func (_ *migrationsComponent) findOwners(ctx *cu.Context, obj cu.Object) ([]cu.O
301301
}
302302
err = ctx.Client.Get(ctx, types.NamespacedName{Name: ref.Name, Namespace: namespace}, ownerObj)
303303
if err != nil {
304+
// TODO IMPORTANT If this is a 403, don't bubble up the error. Probably a custom type we don't have access to, just pretend it's not there.
304305
return nil, errors.Wrapf(err, "error finding object type for owner reference %v", ref)
305306
}
306307
obj = ownerObj.(cu.Object)

0 commit comments

Comments
 (0)