Skip to content

Commit

Permalink
removing debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
i3149 committed Dec 23, 2023
1 parent 5cf96d5 commit d86b1ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/inputs/snmp/x/meraki/meraki.go
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,6 @@ func (c *MerakiClient) getDeviceStatus(dur time.Duration) ([]*kt.JCHF, error) {
}

prod, err := c.client.Organizations.GetOrganizationDevicesStatuses(params, c.auth)
err = fmt.Errorf("(status 429)")
if err != nil {
if strings.Contains(err.Error(), "(status 429)") && timeouts < c.maxRetry {
sleepDur := time.Duration(MAX_TIMEOUT_SEC) * time.Second
Expand Down

0 comments on commit d86b1ed

Please sign in to comment.