Skip to content

Commit 347f577

Browse files
authored
Merge pull request #356 from fluxcd/split-bucket-path
2 parents de775f6 + 67ebe24 commit 347f577

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)