Skip to content

Commit

Permalink
Split bucket item key by / to satisfy matcher
Browse files Browse the repository at this point in the history
Signed-off-by: Hidde Beydals <[email protected]>
  • Loading branch information
hiddeco committed Apr 30, 2021
1 parent de775f6 commit 67ebe24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/bucket_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ func (r *BucketReconciler) reconcile(ctx context.Context, bucket sourcev1.Bucket
continue
}

if matcher.Match([]string{object.Key}, false) {
if matcher.Match(strings.Split(object.Key, "/"), false) {
continue
}

Expand Down

0 comments on commit 67ebe24

Please sign in to comment.