remove unused parameter

This commit is contained in:
Chris Lu
2021-07-19 02:59:12 -07:00
parent 450222dd64
commit b938df97a2
2 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ import (
"github.com/chrislusf/seaweedfs/weed/util"
)
func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request, isGetMethod bool) {
func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request) {
path := r.URL.Path
isForDirectory := strings.HasSuffix(path, "/")