mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 02:19:23 +08:00
minor
This commit is contained in:
@@ -31,8 +31,8 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Reque
|
|||||||
path = path[:len(path)-1]
|
path = path[:len(path)-1]
|
||||||
}
|
}
|
||||||
|
|
||||||
limit, limit_err := strconv.Atoi(r.FormValue("limit"))
|
limit, limitErr := strconv.Atoi(r.FormValue("limit"))
|
||||||
if limit_err != nil {
|
if limitErr != nil {
|
||||||
limit = fs.option.DirListingLimit
|
limit = fs.option.DirListingLimit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user