mirror of
https://github.com/minio/minio.git
synced 2024-12-23 21:55:53 -05:00
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
Block a user