mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-31 02:38:07 +08:00
region: network details show routes
This commit is contained in:
@@ -856,6 +856,10 @@ func (self *SNetwork) getMoreDetails(extra *jsonutils.JSONDict) *jsonutils.JSOND
|
||||
extra.Add(jsonutils.NewString(vpc.GetExternalId()), "vpc_external_id")
|
||||
}
|
||||
}
|
||||
routes := self.GetRoutes()
|
||||
if len(routes) > 0 {
|
||||
extra.Add(jsonutils.Marshal(routes), "routes")
|
||||
}
|
||||
|
||||
return extra
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user