Fix web handler initialize with distributed lazy init.

master
Harshavardhana 8 years ago
parent 804d91ef61
commit 0bce3d6d63
  1. 2
      cmd/test-utils_test.go

@ -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…
Cancel
Save