From dfebb86a7673fbb9853cb9353f922dcc3b8657ce Mon Sep 17 00:00:00 2001 From: 710leo <710leo@gmail.com> Date: Mon, 13 Apr 2020 21:27:17 +0800 Subject: [PATCH] init rpc clients before collect --- src/modules/collector/collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/collector/collector.go b/src/modules/collector/collector.go index 622275f5..dd4d26a9 100644 --- a/src/modules/collector/collector.go +++ b/src/modules/collector/collector.go @@ -71,9 +71,9 @@ func main() { sys.Init(cfg.Sys) stra.Init(cfg.Stra) + funcs.InitRpcClients() funcs.BuildMappers() funcs.Collect() - funcs.InitRpcClients() //插仢采集 plugins.Detect()