Skip to content

Commit

Permalink
Merge pull request #115 from flashcatcloud/fix_snmp
Browse files Browse the repository at this point in the history
fix switch_legacy bug
  • Loading branch information
UlricQin authored Jul 22, 2022
2 parents 9d05274 + bfbcda2 commit abc90e9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions inputs/switch_legacy/switch_legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -579,12 +579,9 @@ func (ins *Instance) gatherFlowMetrics(ips []string, slist *list.SafeList) {
}
}
}

// update lastifmap
ins.lastifmap.Set(ip, stats)
}
ins.lastifmap.Set(ip, stats)
}

}

func (ins *Instance) ifstat(wg *sync.WaitGroup, sema *semaphore.Semaphore, ip string, result cmap.ConcurrentMap) {
Expand Down

0 comments on commit abc90e9

Please sign in to comment.