Split bucket item key by `/` to satisfy matcher
Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
de775f6b17
commit
67ebe24873
|
@ -236,7 +236,7 @@ func (r *BucketReconciler) reconcile(ctx context.Context, bucket sourcev1.Bucket
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
if matcher.Match([]string{object.Key}, false) {
|
if matcher.Match(strings.Split(object.Key, "/"), false) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue