Skip to content

Commit

Permalink
Merge pull request #356 from fluxcd/split-bucket-path
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddeco authored May 6, 2021
2 parents de775f6 + 67ebe24 commit 347f577
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 347f577

Please sign in to comment.