Add tags to auditLogLifecycle (#17081)

This commit is contained in:
Krishnan Parthasarathi authored and GitHub committed 2023-04-26 17:49:00 -07:00
1 parent 31b5acc245
commit e7cac8acef
10 files changed
+122 -116

No files matched your search

+2 -1
View File
@@ -2004,7 +2004,8 @@ func (er erasureObjects) TransitionObject(ctx context.Context, bucket, object st
UserAgent: "Internal: [ILM-Transition]",
Host: globalLocalNodeName,
})
auditLogLifecycle(ctx, objInfo, ILMTransition, traceFn)
tags := auditLifecycleTags(opts.LifecycleEvent)
auditLogLifecycle(ctx, objInfo, ILMTransition, tags, traceFn)
return err
}