fix replication type parameter name

This commit is contained in:
Chris Lu 2014-02-06 11:44:18 -08:00
parent 6d7556b31f
commit 59b9fd26fc

View file

@ -17,7 +17,7 @@ func AllocateVolume(dn *topology.DataNode, vid storage.VolumeId, collection stri
values := make(url.Values)
values.Add("volume", vid.String())
values.Add("collection", collection)
values.Add("replicationType", repType.String())
values.Add("replication", repType.String())
jsonBlob, err := util.Post("http://"+dn.PublicUrl+"/admin/assign_volume", values)
if err != nil {
return err