|
|
@ -934,7 +934,7 @@ func initTestAPIEndPoints(objLayer ObjectLayer, apiFunctions []string) http.Hand |
|
|
|
func initTestWebRPCEndPoint(objLayer ObjectLayer) http.Handler { |
|
|
|
func initTestWebRPCEndPoint(objLayer ObjectLayer) http.Handler { |
|
|
|
// Initialize Web.
|
|
|
|
// Initialize Web.
|
|
|
|
webHandlers := &webAPIHandlers{ |
|
|
|
webHandlers := &webAPIHandlers{ |
|
|
|
ObjectAPI: objLayer, |
|
|
|
ObjectAPI: func() ObjectLayer { return objLayer }, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Initialize router.
|
|
|
|
// Initialize router.
|
|
|
|