Refactor route management to include resource IDs in state handling

This commit is contained in:
Hakan Sariman
2025-03-06 13:51:46 +03:00
parent e7f921d787
commit 0b42f40cf6
5 changed files with 34 additions and 18 deletions

View File

@@ -155,7 +155,7 @@ func (c *Client) GetStatusDetails() *StatusDetails {
for n, p := range fullStatus.Peers {
var routes = RoutesDetails{}
for r := range p.GetRoutes() {
routeInfo := RoutesInfo{r}
routeInfo := RoutesInfo{r.Route}
routes.items = append(routes.items, routeInfo)
}
pi := PeerInfo{