mirror of
https://github.com/pgsty/minio.git
synced 2026-08-11 00:33:28 +03:00
server: Deadcode removal. (#1517)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
bf563afb80
commit
937d68202d
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user