81-seperate-synchronisation-into-independent-proc

- build error
This commit is contained in:
Tim Beatham 2024-01-04 21:47:29 +00:00
parent 5efff2314b
commit 038393052c

View File

@ -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
})
@ -456,7 +456,7 @@ func (m *WgMeshConfigApplyer) getAllRoutes() (map[string][]routeNode, error) {
allRoutes := make(map[string][]routeNode)
for _, mesh := range m.meshManager.GetMeshes() {
routes, err := m.getRoutes(mesh)2
routes, err := m.getRoutes(mesh)
if err != nil {
return nil, err