Merge pull request #356 from fluxcd/split-bucket-path

This commit is contained in:
Hidde Beydals 2021-05-06 10:42:18 +02:00 committed by GitHub
commit 347f5773eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
}