🐛 Fix doesn't get has lifecycle settings buckets correctly

This commit is contained in:
2024-08-18 16:51:44 +08:00
parent 6969a0e76c
commit f32803acf4
2 changed files with 49 additions and 24 deletions

View File

@ -42,7 +42,7 @@ func RunMarkDeletionTask() {
}
var pendingPools []models.AttachmentPool
for _, pool := range pendingPools {
for _, pool := range pools {
if pool.Config.Data().ExistLifecycle != nil {
pendingPools = append(pendingPools, pool)
}