router: PathPrefix router was wrong. (#3172)

This commit is contained in:
Harshavardhana
2016-11-04 12:13:22 -07:00
committed by GitHub
parent d9bab6b3bd
commit d192044915
5 changed files with 7 additions and 8 deletions

View File

@@ -453,7 +453,7 @@ func serverMain(c *cli.Context) {
tls := isSSL()
// Fetch endpoints which we are going to serve from.
endPoints := finalizeEndpoints(tls, &apiServer.Server)
endPoints := finalizeEndpoints(tls, apiServer.Server)
// Initialize local server address
globalMinioAddr = getLocalAddress(srvConfig)