Browse Source

Merge pull request #45 from aszxqw/master

fix bug about the collection
pull/48/head
chrislusf 10 years ago
parent
commit
479a4699e3
  1. 1
      go/weed/weed_server/common.go

1
go/weed/weed_server/common.go

@ -87,6 +87,7 @@ func submitForClientHandler(w http.ResponseWriter, r *http.Request, masterUrl st
} }
debug("assigning file id for", fname) debug("assigning file id for", fname)
r.ParseForm()
assignResult, ae := operation.Assign(masterUrl, 1, r.FormValue("replication"), r.FormValue("collection"), r.FormValue("ttl")) assignResult, ae := operation.Assign(masterUrl, 1, r.FormValue("replication"), r.FormValue("collection"), r.FormValue("ttl"))
if ae != nil { if ae != nil {
writeJsonError(w, r, ae) writeJsonError(w, r, ae)

Loading…
Cancel
Save