mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
rename checkPathValid() to getValidPath() (#5949)
This commit is contained in:
+1
-1
@@ -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