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, ReplicaPlacement: option.ReplicaPlacement,
Ttl: option.Ttl, Ttl: option.Ttl,
Version: needle.CurrentVersion, Version: needle.CurrentVersion,
DiskType: string(option.DiskType), DiskType: option.DiskType.String(),
} }
server.AddOrUpdateVolume(vi) server.AddOrUpdateVolume(vi)
topo.RegisterVolumeLayout(vi, server) topo.RegisterVolumeLayout(vi, server)

|||||||
100:0
Loading…
Cancel
Save