mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -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")
|
||||
}
|
||||
|
||||
// Populate existing buckets to the etcd backend
|
||||
if globalDNSConfig != nil {
|
||||
initFederatorBackend(newObject)
|
||||
}
|
||||
|
||||
if enableConfigOps {
|
||||
// Create a new config system.
|
||||
globalConfigSys = NewConfigSys()
|
||||
|
Loading…
Reference in New Issue
Block a user