mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Code cleanup - simplify server side code. (#3870)
Fix all the issues reported by `gosimple` tool.
This commit is contained in:
@@ -67,12 +67,7 @@ func initMetaVolumeFS(fsPath, fsUUID string) error {
|
||||
}
|
||||
|
||||
metaMultipartPath := pathJoin(fsPath, minioMetaMultipartBucket)
|
||||
if err := mkdirAll(metaMultipartPath, 0777); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Return success here.
|
||||
return nil
|
||||
return mkdirAll(metaMultipartPath, 0777)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user