mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05: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:
committed by
GitHub
parent
c57ff2640e
commit
5f1af8a69d
@@ -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