mirror of
https://github.com/minio/minio.git
synced 2025-01-12 15:33:22 -05:00
Fix Gateway startup sequence to populate etcd (if set) with bucket info (#7686)
This commit is contained in:
parent
7a02faab72
commit
46ced81f41
@ -221,6 +221,11 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
|
|||||||
logger.FatalIf(err, "Unable to initialize gateway backend")
|
logger.FatalIf(err, "Unable to initialize gateway backend")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Populate existing buckets to the etcd backend
|
||||||
|
if globalDNSConfig != nil {
|
||||||
|
initFederatorBackend(newObject)
|
||||||
|
}
|
||||||
|
|
||||||
if enableConfigOps {
|
if enableConfigOps {
|
||||||
// Create a new config system.
|
// Create a new config system.
|
||||||
globalConfigSys = NewConfigSys()
|
globalConfigSys = NewConfigSys()
|
||||||
|
Loading…
Reference in New Issue
Block a user