Skip to content

Commit 469392a

Browse files
authored
Merge pull request #8940 from achouhan09/tag-fix
Added a fix for bucket lifecycle having tagging as an empty array in filter
2 parents 291a084 + 256f157 commit 469392a

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)