fix: proxy ListObjects request to one of the server based on hash(bucket) (#9881)

This commit is contained in:
Krishna Srinivas
2020-07-02 10:56:22 -07:00
committed by GitHub
parent abd999f64a
commit 4c266df863
4 changed files with 110 additions and 0 deletions

View File

@@ -396,6 +396,9 @@ func serverMain(ctx *cli.Context) {
globalRootCAs, err = config.GetRootCAs(globalCertsCADir.Get())
logger.FatalIf(err, "Failed to read root CAs (%v)", err)
globalListEndpoints, err = GetListEndpoints(globalEndpoints)
logger.FatalIf(err, "Invalid command line arguments")
globalMinioEndpoint = func() string {
host := globalMinioHost
if host == "" {