mirror of
https://github.com/minio/minio.git
synced 2026-11-19 15:02:21 +00:00
For IAM with etcd backend, avoid sending notifications (#13472)
As we use etcd's watch interface, we do not need the network notifications as they are no-ops anyway. Bonus: Remove globalEtcdClient global usage in IAM
This commit is contained in:
1 parent
c57ff2640e
commit
5f1af8a69d
11 files changed
+183
-160
No files matched your search
+1
-1
@@ -306,7 +306,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)
|
||||
go globalIAMSys.Init(GlobalContext, newObject, globalEtcdClient)
|
||||
|
||||
if globalCacheConfig.Enabled {
|
||||
// initialize the new disk cache objects.
|
||||
|
||||
Reference in new issue
Block a user