mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
Add etcd support to support STS on gateway mode (#6531)
This commit is contained in:
committed by
Dee Koder
parent
f09e7ca764
commit
143e7fe300
@@ -244,9 +244,10 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
|
||||
|
||||
// Create new IAM system.
|
||||
globalIAMSys = NewIAMSys()
|
||||
|
||||
// Initialize IAM sys.
|
||||
go globalIAMSys.Init(newObject)
|
||||
if globalEtcdClient != nil {
|
||||
// Initialize IAM sys.
|
||||
go globalIAMSys.Init(newObject)
|
||||
}
|
||||
|
||||
// Create new policy system.
|
||||
globalPolicySys = NewPolicySys()
|
||||
|
||||
Reference in New Issue
Block a user