set correct Host: value for replication event notification (#16984)

This commit is contained in:
Harshavardhana authored and GitHub committed 2023-04-06 10:20:53 -07:00
1 parent 8625a9dbb3
commit c06e0bfef9
5 files changed
+54 -28

No files matched your search

+2 -1
View File
@@ -1997,7 +1997,8 @@ func (er erasureObjects) TransitionObject(ctx context.Context, bucket, object st
EventName: eventName,
BucketName: bucket,
Object: objInfo,
Host: "Internal: [ILM-Transition]",
UserAgent: "Internal: [ILM-Transition]",
Host: globalLocalNodeName,
})
auditLogLifecycle(ctx, objInfo, ILMTransition)
return err