Skip to content

Commit 67ebe24

Browse files
committed
Split bucket item key by / to satisfy matcher
Signed-off-by: Hidde Beydals <[email protected]>
1 parent de775f6 commit 67ebe24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/bucket_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func (r *BucketReconciler) reconcile(ctx context.Context, bucket sourcev1.Bucket
236236
continue
237237
}
238238

239-
if matcher.Match([]string{object.Key}, false) {
239+
if matcher.Match(strings.Split(object.Key, "/"), false) {
240240
continue
241241
}
242242

0 commit comments

Comments
 (0)