mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 14:39:24 +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]
|
||||
}
|
||||
|
||||
limit, limit_err := strconv.Atoi(r.FormValue("limit"))
|
||||
if limit_err != nil {
|
||||
limit, limitErr := strconv.Atoi(r.FormValue("limit"))
|
||||
if limitErr != nil {
|
||||
limit = fs.option.DirListingLimit
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user