From 5e1e9e7c8460ffc1a0dab5d25d86abad5b9268d0 Mon Sep 17 00:00:00 2001 From: matst80 Date: Sun, 10 Nov 2024 16:54:34 +0100 Subject: [PATCH] exclude empty hosts --- synced-pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synced-pool.go b/synced-pool.go index 2ab019d..faeea64 100644 --- a/synced-pool.go +++ b/synced-pool.go @@ -173,7 +173,7 @@ func NewSyncedPool(local *GrainLocalPool, hostname string, discovery Discovery) return } for host := range ch { - if pool.IsKnown(host) { + if pool.IsKnown(host) || host == "" { continue } go func(h string) {