fix: grab table columns more accurately (#10295)
This commit is contained in:
parent
973ffba9fb
commit
49562e8963
|
|
@ -139,7 +139,7 @@ func GetIndex(oidNum string, mibPrefix string) (col []string, tagOids map[string
|
|||
|
||||
// grabs all columns from the table
|
||||
// mimmicks grabbing everything returned from snmptable -Ch -Cl -c public 127.0.0.1 oidFullName
|
||||
col = node.GetRow().AsTable().ColumnOrder
|
||||
_, col = node.GetColumns()
|
||||
|
||||
return col, tagOids, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue