fix fatal error
This commit is contained in:
parent
6a305eaa76
commit
5398944788
@ -47,7 +47,7 @@ func Init() {
|
|||||||
snmp.Timeout = time.Duration(5 * time.Second)
|
snmp.Timeout = time.Duration(5 * time.Second)
|
||||||
err := snmp.Connect()
|
err := snmp.Connect()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal("SNMP Connect err: %v\n", err)
|
log.Fatal("SNMP Connect error\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
oids := []string{}
|
oids := []string{}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user