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

View File

@@ -401,7 +401,8 @@ func expireTransitionedObject(ctx context.Context, objectAPI ObjectLayer, oi *Ob
EventName: eventName,
BucketName: oi.Bucket,
Object: objInfo,
Host: "Internal: [ILM-Expiry]",
UserAgent: "Internal: [ILM-Expiry]",
Host: globalLocalNodeName,
})
case expireRestoredObj: