From a371b5f962bdac6c27155579237eb8ac870e23ce Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期一, 31 五月 2021 16:32:33 +0800
Subject: [PATCH] fix Init arg
---
searcher.go | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/searcher.go b/searcher.go
index 0785afa..38ef78d 100644
--- a/searcher.go
+++ b/searcher.go
@@ -78,6 +78,7 @@
}
func CreateSearchNode(key string) (*memberlist.Memberlist, error) {
+ members = make(map[string]NodeInfo,0)
conf := memberlist.DefaultLocalConfig()
conf.Events = &eventDelegate{}
conf.Delegate = &delegate{}
--
Gitblit v1.8.0