diff --git a/cmd/gateway-main.go b/cmd/gateway-main.go index 28e1c25f2..b74256731 100644 --- a/cmd/gateway-main.go +++ b/cmd/gateway-main.go @@ -217,12 +217,7 @@ func StartGateway(ctx *cli.Context, gw Gateway) { logger.FatalIf(err, "Unable to initialize gateway backend") } - if gw.Name() != "nas" { - // Initialize policy sys for all gateways. NAS gateway already - // initializes policy sys internally, avoid double initialization. - // Additionally also don't block the initialization of gateway. - go globalPolicySys.Init(newObject) - } + go globalPolicySys.Init(newObject) // Once endpoints are finalized, initialize the new object api. globalObjLayerMutex.Lock()