mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Send bucket name to peers when bucket notification is enabled (#11351)
This commit is contained in:
parent
6717295e18
commit
e7f6051f19
@ -139,6 +139,9 @@ func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r
|
||||
return rulesMap.MatchSimple(ev.EventName, ev.S3.Object.Key)
|
||||
})
|
||||
|
||||
if bucketName != "" {
|
||||
values.Set(peerRESTListenBucket, bucketName)
|
||||
}
|
||||
for _, peer := range peers {
|
||||
if peer == nil {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user