chore(internal.snmp): Rephrase error message on translating OID (#14612)
This commit is contained in:
parent
f53456d6b7
commit
9878eba241
|
|
@ -224,7 +224,7 @@ func SnmpTranslateCall(oid string) (mibName string, oidNum string, oidText strin
|
||||||
}
|
}
|
||||||
|
|
||||||
if oidNum = out.RenderNumeric(); oidNum == "" {
|
if oidNum = out.RenderNumeric(); oidNum == "" {
|
||||||
return oid, oid, oid, oid, out, fmt.Errorf("cannot make %v numeric, please ensure all imported mibs are in the path", oid)
|
return oid, oid, oid, oid, out, fmt.Errorf("cannot translate %v into a numeric OID, please ensure all imported MIBs are in the path", oid)
|
||||||
}
|
}
|
||||||
|
|
||||||
oidNum = "." + oidNum + end
|
oidNum = "." + oidNum + end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue