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.

minor

Chris Lu01336d71ebfe
diff --git a/weed/topology/volume_growth.go b/weed/topology/volume_growth.go
index ae0b11c815..e2949848d1 100644
--- a/weed/topology/volume_growth.go
+++ b/weed/topology/volume_growth.go
@@ -228,7 +228,7 @@ func (vg *VolumeGrowth) grow(grpcDialOption grpc.DialOption, topo *Topology, vid
ReplicaPlacement: option.ReplicaPlacement,
Ttl: option.Ttl,
Version: needle.CurrentVersion,
- DiskType: string(option.DiskType),
+ DiskType: option.DiskType.String(),
}
server.AddOrUpdateVolume(vi)
topo.RegisterVolumeLayout(vi, server)