Bug Fix Snmp empty metric name (#9519)
This commit is contained in:
parent
57ecd1d21b
commit
a48e11d0d1
|
|
@ -349,6 +349,7 @@ func init() {
|
||||||
func makeTableNoMock(fieldName string) (*si.Table, error) {
|
func makeTableNoMock(fieldName string) (*si.Table, error) {
|
||||||
var err error
|
var err error
|
||||||
tab := si.Table{
|
tab := si.Table{
|
||||||
|
Name: "ifTable",
|
||||||
IndexAsTag: true,
|
IndexAsTag: true,
|
||||||
Fields: []si.Field{
|
Fields: []si.Field{
|
||||||
{Oid: fieldName},
|
{Oid: fieldName},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue