Skip to content

Commit

Permalink
fix: grab table columns more accurately (influxdata#10295)
Browse files Browse the repository at this point in the history
  • Loading branch information
MyaLongmire authored Dec 20, 2021
1 parent 973ffba commit 49562e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/snmp/translate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 49562e8

Please sign in to comment.