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:
Aditya Manthramurthy
2022-08-24 06:42:36 -07:00
committed by GitHub
parent 8902561f3c
commit afbb63a197
13 changed files with 354 additions and 308 deletions
+1 -1
View File
@@ -1879,7 +1879,7 @@ func getServerInfo(ctx context.Context, r *http.Request) madmin.InfoMessage {
Mode: string(mode),
Domain: domain,
Region: globalSite.Region,
SQSARN: globalNotificationSys.GetARNList(false),
SQSARN: globalEventNotifier.GetARNList(false),
DeploymentID: globalDeploymentID,
Buckets: buckets,
Objects: objects,