Consolidating more codebase and cleanup in server / controller

This commit is contained in:
Harshavardhana
2015-09-19 02:36:50 -07:00
parent d9328d25e9
commit e510e97f28
13 changed files with 206 additions and 149 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func (s *MyAPIDonutCacheSuite) SetUpSuite(c *C) {
perr := donut.SaveConfig(conf)
c.Assert(perr, IsNil)
httpHandler, minioAPI := getAPIHandler(APIConfig{RateLimit: 16})
httpHandler, minioAPI := getAPIHandler()
go startTM(minioAPI)
testAPIDonutCacheServer = httptest.NewServer(httpHandler)
}