server: Deadcode removal. (#1517)

This commit is contained in:
Harshavardhana
2016-05-07 21:47:33 -07:00
committed by Anand Babu (AB) Periasamy
parent bf563afb80
commit 937d68202d
7 changed files with 0 additions and 52 deletions
-9
View File
@@ -31,15 +31,6 @@ func getBucketsConfigPath() (string, error) {
return filepath.Join(configPath, "buckets"), nil
}
// createBucketsConfigPath - create buckets directory.
func createBucketsConfigPath() error {
bucketsConfigPath, err := getBucketsConfigPath()
if err != nil {
return err
}
return os.MkdirAll(bucketsConfigPath, 0700)
}
// getBucketConfigPath - get bucket config path.
func getBucketConfigPath(bucket string) (string, error) {
bucketsConfigPath, err := getBucketsConfigPath()