mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 11:24:53 +08:00
refactoring code
reusable code by go clients
This commit is contained in:
@@ -257,7 +257,7 @@ func submitForClientHandler(w http.ResponseWriter, r *http.Request, masterUrl st
|
||||
}
|
||||
|
||||
debug("assigning file id for", fname)
|
||||
assignResult, ae := Assign(masterUrl, 1)
|
||||
assignResult, ae := operation.Assign(masterUrl, 1, r.FormValue("replication"))
|
||||
if ae != nil {
|
||||
writeJsonError(w, r, ae)
|
||||
return
|
||||
|
Reference in New Issue
Block a user