Move IAM notifications into IAM system functions (#13780)

This commit is contained in:
Aditya Manthramurthy authored and GitHub committed 2021-11-29 14:38:57 -08:00
1 parent e49c184595
commit 42d11d9e7d
11 files changed
+155 -225

No files matched your search

+1 -1
View File
@@ -308,7 +308,7 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
logger.FatalIf(globalNotificationSys.Init(GlobalContext, buckets, newObject), "Unable to initialize notification system")
}
go globalIAMSys.Init(GlobalContext, newObject, globalEtcdClient, globalRefreshIAMInterval)
go globalIAMSys.Init(GlobalContext, newObject, globalEtcdClient, globalNotificationSys, globalRefreshIAMInterval)
if globalCacheConfig.Enabled {
// initialize the new disk cache objects.