Skip to content

Commit 4db8719

Browse files
committed
fix: list matching request
Signed-off-by: Ashing Zheng <[email protected]>
1 parent e61d276 commit 4db8719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,7 @@ func ListMatchingRequests(
11921192
matchFunc func(obj client.Object) bool,
11931193
opts ...client.ListOption,
11941194
) []reconcile.Request {
1195-
if err := c.List(ctx, listObj); err != nil {
1195+
if err := c.List(ctx, listObj, opts...); err != nil {
11961196
logger.Error(err, "failed to list resource")
11971197
return nil
11981198
}

0 commit comments

Comments
 (0)