mirror of
https://github.com/tim-beatham/smegmesh.git
synced 2025-03-05 00:51:16 +01:00
81-seperate-synchronisation-into-independent-proc
- build error
This commit is contained in:
parent
5efff2314b
commit
038393052c
@ -238,7 +238,7 @@ func (m *WgMeshConfigApplyer) getClientConfig(params *GetConfigParams) (*wgtypes
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
routesForMesh = lib.Filter(routesForMesh, func (rns []routeNode) {
|
routesForMesh = lib.Filter(routesForMesh, func(rns []routeNode) {
|
||||||
return len(rns) != 0
|
return len(rns) != 0
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -456,7 +456,7 @@ func (m *WgMeshConfigApplyer) getAllRoutes() (map[string][]routeNode, error) {
|
|||||||
allRoutes := make(map[string][]routeNode)
|
allRoutes := make(map[string][]routeNode)
|
||||||
|
|
||||||
for _, mesh := range m.meshManager.GetMeshes() {
|
for _, mesh := range m.meshManager.GetMeshes() {
|
||||||
routes, err := m.getRoutes(mesh)2
|
routes, err := m.getRoutes(mesh)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user