Browse Source

minor

pull/2252/head
Chris Lu 3 years ago
parent
commit
01336d71eb
  1. 2
      weed/topology/volume_growth.go

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

Loading…
Cancel
Save