exclude empty hosts
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m39s

This commit is contained in:
matst80
2024-11-10 16:54:34 +01:00
parent 1fee6f179e
commit 5e1e9e7c84

View File

@@ -173,7 +173,7 @@ func NewSyncedPool(local *GrainLocalPool, hostname string, discovery Discovery)
return return
} }
for host := range ch { for host := range ch {
if pool.IsKnown(host) { if pool.IsKnown(host) || host == "" {
continue continue
} }
go func(h string) { go func(h string) {