tests: Add tests for browser peer rpc. Fixes #3062 (#3189)

This commit is contained in:
Harshavardhana
2016-11-07 11:43:35 -08:00
committed by GitHub
parent 286a8924fd
commit 33c771bb3e
7 changed files with 173 additions and 23 deletions

View File

@@ -113,7 +113,7 @@ func configureServerHandler(srvCmdConfig serverCmdConfig) (http.Handler, error)
// 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 {
if err = registerBrowserPeerRPCRouter(mux); err != nil {
return nil, err
}