aboutsummaryrefslogtreecommitdiff
path: root/weed/topology/topology_info.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/topology/topology_info.go')
-rw-r--r--weed/topology/topology_info.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/topology/topology_info.go b/weed/topology/topology_info.go
index afbeb4894..120ae0d42 100644
--- a/weed/topology/topology_info.go
+++ b/weed/topology/topology_info.go
@@ -80,6 +80,7 @@ func (t *Topology) ToVolumeLocations() (volumeLocations []*master_pb.VolumeLocat
Url: dn.Url(),
PublicUrl: dn.PublicUrl,
DataCenter: dn.GetDataCenterId(),
+ GrpcPort: uint32(dn.GrpcPort),
}
for _, v := range dn.GetVolumes() {
volumeLocation.NewVids = append(volumeLocation.NewVids, uint32(v.Id))