Skip to content

Commit

Permalink
restore blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
dszarmach committed Apr 28, 2023
1 parent 7c1afd8 commit e80746d
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 e80746d

Please sign in to comment.