mirror of https://github.com/minio/minio.git
Fix web handler initialize with distributed lazy init.
This commit is contained in:
parent
804d91ef61
commit
0bce3d6d63
|
@ -934,7 +934,7 @@ func initTestAPIEndPoints(objLayer ObjectLayer, apiFunctions []string) http.Hand
|
|||
func initTestWebRPCEndPoint(objLayer ObjectLayer) http.Handler {
|
||||
// Initialize Web.
|
||||
webHandlers := &webAPIHandlers{
|
||||
ObjectAPI: objLayer,
|
||||
ObjectAPI: func() ObjectLayer { return objLayer },
|
||||
}
|
||||
|
||||
// Initialize router.
|
||||
|
|
Loading…
Reference in New Issue