mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
rename checkPathValid() to getValidPath() (#5949)
This commit is contained in:
@@ -102,7 +102,7 @@ func NewFSObjectLayer(fsPath string) (ObjectLayer, error) {
|
||||
}
|
||||
|
||||
var err error
|
||||
if fsPath, err = checkPathValid(fsPath); err != nil {
|
||||
if fsPath, err = getValidPath(fsPath); err != nil {
|
||||
return nil, uiErrUnableToWriteInBackend(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user