Skip to content

Commit 256f157

Browse files
committed
Added a fix for bucket lifecycle - if tagging is an empty array in filter
Signed-off-by: Aayush Chouhan <[email protected]>
1 parent 291a084 commit 256f157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/object_services/md_store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ class MDStore {
669669
$lt: new Date(moment.unix(max_create_time).toISOString()),
670670
$exists: true
671671
} : undefined,
672-
tagging: tagging ? {
672+
tagging: (tagging?.length > 0) ? {
673673
$all: tagging,
674674
} : undefined,
675675
size: (max_size || min_size) ?

0 commit comments

Comments
 (0)