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

This commit is contained in:
Harshavardhana
2023-04-06 10:20:53 -07:00
committed by GitHub
parent 8625a9dbb3
commit c06e0bfef9
5 changed files with 54 additions and 28 deletions
+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