fail ready/liveness if etcd is unhealthy in gateway mode (#13146)

This commit is contained in:
Harshavardhana
2021-09-03 17:05:41 -07:00
committed by GitHub
parent 308371b434
commit 1250312287
3 changed files with 41 additions and 4 deletions

View File

@@ -301,9 +301,6 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
logger.FatalIf(globalNotificationSys.Init(GlobalContext, buckets, newObject), "Unable to initialize notification system")
}
// Initialize users credentials and policies in background.
globalIAMSys.InitStore(newObject)
go globalIAMSys.Init(GlobalContext, newObject)
if globalCacheConfig.Enabled {