This commit is contained in:
geek
2018-07-05 19:07:09 +09:00
parent 7be3d472b2
commit f936b592da
22 changed files with 107 additions and 107 deletions

View File

@@ -24,11 +24,11 @@ func (c *PostgreSQLHealthCrawler) Auth(auth map[string]interface{}) error {
}
func (c *PostgreSQLHealthCrawler) Get(config *ocmsc.SensorConfig) (map[string]string, error) {
rss, err := c.CheckHealth(config)
if err != nil {
return nil, err
}
return rss, nil
//rss, err := c.CheckHealth(config)
//if err != nil {
// return nil, err
//}
return nil, nil
}
func NewCrawler() crawler.Crawler {