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{}