Merge pull request #45 from aszxqw/master

fix bug about the collection
This commit is contained in:
chrislusf 2015-01-06 05:51:03 -08:00
commit 479a4699e3

View file

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