mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
minor
This commit is contained in:
parent
1154e23e2d
commit
01336d71eb
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue