Browse Source

fix replication type parameter name

pull/2/head
Chris Lu 11 years ago
parent
commit
59b9fd26fc
  1. 2
      go/operation/allocate_volume.go

2
go/operation/allocate_volume.go

@ -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

Loading…
Cancel
Save