added processing err
This commit is contained in:
parent
4d4b9b6fa6
commit
415106fda1
|
@ -5,7 +5,6 @@ import (
|
||||||
"loafle.com/overflow/commons_go/matcher/snmp"
|
"loafle.com/overflow/commons_go/matcher/snmp"
|
||||||
"loafle.com/overflow/crawler_go"
|
"loafle.com/overflow/crawler_go"
|
||||||
config "loafle.com/overflow/agent_api/config_manager"
|
config "loafle.com/overflow/agent_api/config_manager"
|
||||||
"log"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type SNMPV2CHeahthCrawler struct {
|
type SNMPV2CHeahthCrawler struct {
|
||||||
|
@ -13,7 +12,6 @@ type SNMPV2CHeahthCrawler struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *SNMPV2CHeahthCrawler)Internal(params config.Config) ([]byte, error) {
|
func (r *SNMPV2CHeahthCrawler)Internal(params config.Config) ([]byte, error) {
|
||||||
log.Println("????????????????????????????????")
|
|
||||||
b, err := r.CheckHeahth(params)
|
b, err := r.CheckHeahth(params)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
Loading…
Reference in New Issue
Block a user