mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Add lifecycle event source to audit log tags (#17248)
This commit is contained in:
committed by
GitHub
parent
55a3310446
commit
3e128c116e
@@ -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)
|
||||
globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_s3ListObjects)
|
||||
if !evt.Action.DeleteRestored() {
|
||||
continue
|
||||
} // queue version for replication upon expired restored copies if needed.
|
||||
|
||||
Reference in New Issue
Block a user