Skip to content

Commit

Permalink
reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
DStrand1 committed May 30, 2024
1 parent 1faf8e6 commit 6c3e9d4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/snmp/field.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ func (f *Field) Convert(ent gosnmp.SnmpPDU) (v interface{}, err error) {

if f.Conversion == "int" {
v = ent.Value
err = nil
switch vt := v.(type) {
case float32:
v = int64(vt)
Expand Down

0 comments on commit 6c3e9d4

Please sign in to comment.