mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
Add tags to auditLogLifecycle (#17081)
This commit is contained in:
committed by
GitHub
parent
31b5acc245
commit
e7cac8acef
@@ -395,7 +395,7 @@ func applyBucketActions(ctx context.Context, o listPathOptions, in <-chan metaCa
|
||||
if o.Lifecycle != nil {
|
||||
evt := evalActionFromLifecycle(ctx, *o.Lifecycle, o.Retention, objInfo)
|
||||
if evt.Action.Delete() {
|
||||
globalExpiryState.enqueueByDays(objInfo, evt.Action.DeleteRestored(), evt.Action.DeleteVersioned())
|
||||
globalExpiryState.enqueueByDays(objInfo, evt)
|
||||
if !evt.Action.DeleteRestored() {
|
||||
continue
|
||||
} // queue version for replication upon expired restored copies if needed.
|
||||
|
||||
Reference in New Issue
Block a user