mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-18 20:18:27 +02:00
fix replication type parameter name
This commit is contained in:
1 parent
6d7556b31f
commit
59b9fd26fc
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user