Browse Source

avoid nil

pull/5800/head
chrislu 5 months ago
parent
commit
9265be43c0
  1. 1
      weed/topology/volume_layout.go

1
weed/topology/volume_layout.go

@ -551,6 +551,7 @@ func (vl *VolumeLayout) ToInfo() (info VolumeLayoutInfo) {
}
func (vl *VolumeLayout) ToGrowOption() (option *VolumeGrowOption) {
option = &VolumeGrowOption{}
option.ReplicaPlacement = vl.rp
option.Ttl = vl.ttl
option.DiskType = vl.diskType

Loading…
Cancel
Save