mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
storage/server/client: Enable storage server, enable client storage.
This commit is contained in:
@@ -96,12 +96,10 @@ func (s *MyAPISuite) SetUpSuite(c *C) {
|
||||
// Save config.
|
||||
c.Assert(serverConfig.Save(), IsNil)
|
||||
|
||||
fs, err := newFS(fsroot)
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
obj := newObjectLayer(fs)
|
||||
|
||||
apiServer := configureServer(addr, obj)
|
||||
apiServer := configureServer(serverCmdConfig{
|
||||
serverAddr: addr,
|
||||
exportPaths: []string{fsroot},
|
||||
})
|
||||
testAPIFSCacheServer = httptest.NewServer(apiServer.Handler)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user