Add full API tests, move storage/donut to donut, add disk tests as well

This commit is contained in:
Harshavardhana
2015-07-03 00:29:54 -07:00
parent 7c37e9d06a
commit 8a4e7bcdcf
36 changed files with 1110 additions and 60 deletions

View File

@@ -199,7 +199,7 @@ func getConfigFile() string {
if err := os.MkdirAll(confPath, 0700); err != nil {
return ""
}
return filepath.Join(confPath, "config.json")
return filepath.Join(confPath, "users.json")
}
// validate auth header handler ServeHTTP() wrapper