Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix replication type parameter name

Chris Lu59b9fd26fc76
diff --git a/go/operation/allocate_volume.go b/go/operation/allocate_volume.go
index 71b08405a9..3f96583e5e 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