1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-28 05:12:13 +02:00
This commit is contained in:
Chris Lu 2021-08-10 13:04:33 -07:00
parent 1154e23e2d
commit 01336d71eb

View file

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