Fix Gateway startup sequence to populate etcd (if set) with bucket info (#7686)

master
Nitish Tiwari 5 years ago committed by GitHub
parent 7a02faab72
commit 46ced81f41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      cmd/gateway-main.go

@ -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…
Cancel
Save