mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08:00
minor
This commit is contained in:
parent
64756c2d79
commit
07f47776c3
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user