Skip to content

Commit

Permalink
restore blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
dszarmach committed Feb 14, 2023
1 parent b7c7c00 commit 91d55de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ func ScrapeTarget(ctx context.Context, target string, snmp_context string, confi
snmp.Timeout = config.WalkParams.Timeout
snmp.UseUnconnectedUDPSocket = config.WalkParams.UseUnconnectedUDPSocket
snmp.LocalAddr = *srcAddress

// Allow a set of OIDs that aren't in a strictly increasing order
if config.WalkParams.AllowNonIncreasingOIDs {
snmp.AppOpts = make(map[string]interface{})
Expand Down

0 comments on commit 91d55de

Please sign in to comment.