From fc9a2f79d8135206f39f33eff59ba1d24a2de42b Mon Sep 17 00:00:00 2001 From: snoop Date: Thu, 13 Apr 2017 12:45:00 +0900 Subject: [PATCH] init() input -> init --- crawler_manager.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crawler_manager.go b/crawler_manager.go index 054b957..1f607ae 100644 --- a/crawler_manager.go +++ b/crawler_manager.go @@ -22,7 +22,7 @@ func CallAdd() { cc := g.NewConfigClient(conn) in := &g.Input{} - in.Path = "" + in.Id = "" in.Name = g.Crawlers_HEALTH_DNS @@ -44,9 +44,9 @@ func CallInit() { cc := g.NewConfigClient(conn) - in := &g.Input{} - in.Path = "" - in.Id = "" + in := &g.Init{} + + in.Path = ""; in.Name = g.Crawlers_HEALTH_DNS inArr := &g.InputArray{}