Propagate creds change to cluster (Fixes #2855) (#2929)

This commit is contained in:
Aditya Manthramurthy
2016-10-17 20:18:08 -07:00
committed by Harshavardhana
parent 8d2347bc7b
commit 0f26ec8095
4 changed files with 254 additions and 8 deletions

View File

@@ -112,6 +112,11 @@ func configureServerHandler(srvCmdConfig serverCmdConfig) (http.Handler, error)
// set environmental variable MINIO_BROWSER=off to disable minio web browser.
// By default minio web browser is enabled.
if !strings.EqualFold(os.Getenv("MINIO_BROWSER"), "off") {
// Register RPC router for web related calls.
if err = registerBrowserRPCRouter(mux); err != nil {
return nil, err
}
if err = registerWebRouter(mux); err != nil {
return nil, err
}