diff --git a/crawler/crawler.go b/crawler/crawler.go index f6dee11..7d2f8a1 100644 --- a/crawler/crawler.go +++ b/crawler/crawler.go @@ -10,12 +10,11 @@ var crawlers map[string]crawler.Crawler func init() { crawlers = make(map[string]crawler.Crawler, 0) + addCrawler(discovery.NewCrawler()) } func addCrawler(c crawler.Crawler) { crawlers[c.Name()] = c - - addCrawler(discovery.NewCrawler()) } func GetCrawlers() map[string]crawler.Crawler {