mirror of
https://github.com/minio/minio.git
synced 2026-11-21 15:08:19 +00:00
Factor out external event notification funcs (#15574)
This change moves external event notification functionality into `event-notification.go`. This simplifies notification related code.
This commit is contained in:
1 parent
8902561f3c
commit
afbb63a197
13 files changed
+354
-308
No files matched your search
+1
-1
@@ -316,7 +316,7 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
|
||||
}
|
||||
logger.FatalIf(globalBucketMetadataSys.Init(GlobalContext, buckets, newObject), "Unable to initialize bucket metadata")
|
||||
|
||||
logger.FatalIf(globalNotificationSys.InitBucketTargets(GlobalContext, newObject), "Unable to initialize bucket targets for notification system")
|
||||
logger.FatalIf(globalEventNotifier.InitBucketTargets(GlobalContext, newObject), "Unable to initialize bucket targets for notification system")
|
||||
}
|
||||
|
||||
if globalCacheConfig.Enabled {
|
||||
|
||||
Reference in new issue
Block a user