mirror of
https://github.com/minio/minio.git
synced 2025-07-14 19:31:52 -04:00
Co-authored-by: massintha azamoum <40169489+massintha-riaktr@users.noreply.github.com>
This commit is contained in:
parent
ec42715219
commit
47e54fb823
@ -139,6 +139,9 @@ func (api objectAPIHandlers) ListenNotificationHandler(w http.ResponseWriter, r
|
|||||||
return rulesMap.MatchSimple(ev.EventName, ev.S3.Object.Key)
|
return rulesMap.MatchSimple(ev.EventName, ev.S3.Object.Key)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if bucketName != "" {
|
||||||
|
values.Set(peerRESTListenBucket, bucketName)
|
||||||
|
}
|
||||||
for _, peer := range peers {
|
for _, peer := range peers {
|
||||||
if peer == nil {
|
if peer == nil {
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user