mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Support ListenBucketNotificationV2 streaming (#8622)
This commit is contained in:
@@ -1297,6 +1297,11 @@ func sendEvent(args eventArgs) {
|
||||
crypto.RemoveSensitiveEntries(args.Object.UserDefined)
|
||||
crypto.RemoveInternalEntries(args.Object.UserDefined)
|
||||
|
||||
if globalHTTPListen.HasSubscribers() {
|
||||
globalHTTPListen.Publish(args.ToEvent())
|
||||
return
|
||||
}
|
||||
|
||||
// globalNotificationSys is not initialized in gateway mode.
|
||||
if globalNotificationSys == nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user