mirror of
https://github.com/minio/minio.git
synced 2026-11-25 23:23:49 +00:00
Add tags to auditLogLifecycle (#17081)
This commit is contained in:
1 parent
31b5acc245
commit
e7cac8acef
10 files changed
+122
-116
No files matched your search
@@ -1320,7 +1320,7 @@ func (z *erasureServerPools) ListObjects(ctx context.Context, bucket, prefix, ma
|
||||
if opts.Lifecycle != nil {
|
||||
evt := evalActionFromLifecycle(ctx, *opts.Lifecycle, opts.Retention, objInfo)
|
||||
if evt.Action.Delete() {
|
||||
globalExpiryState.enqueueByDays(objInfo, evt.Action.DeleteRestored(), evt.Action.DeleteVersioned())
|
||||
globalExpiryState.enqueueByDays(objInfo, evt)
|
||||
if !evt.Action.DeleteRestored() {
|
||||
// Skip entry if ILM action was DeleteVersionAction or DeleteAction
|
||||
return loi, nil
|
||||
|
||||
Reference in new issue
Block a user