From 59b9fd26fc76263ef8bbc8cce5ddd31743dd2ed7 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 6 Feb 2014 11:44:18 -0800 Subject: [PATCH] fix replication type parameter name --- go/operation/allocate_volume.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/operation/allocate_volume.go b/go/operation/allocate_volume.go index 71b08405a..3f96583e5 100644 --- a/go/operation/allocate_volume.go +++ b/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