From 4a927438801128766871a6a2ea047f64280a98b1 Mon Sep 17 00:00:00 2001 From: Tim Beatham Date: Thu, 4 Jan 2024 21:48:54 +0000 Subject: [PATCH] 81-seperate-sync - build error --- pkg/mesh/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mesh/config.go b/pkg/mesh/config.go index 0e1fa11..99d6795 100644 --- a/pkg/mesh/config.go +++ b/pkg/mesh/config.go @@ -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) bool { return len(rns) != 0 })