Skip to content

Commit

Permalink
ran go fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Juraj Michalek <[email protected]>
  • Loading branch information
jmichalek132 committed Sep 27, 2024
1 parent 71894ca commit 8df2ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrics/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (c *Client) write(ctx context.Context) error {
defer ticker.Stop()
left := c.config.RequestCount // left equal to -1 means infinite amount of requests.
for left != 0 {
left--
left--
if ctx.Err() != nil {
return ctx.Err()
}
Expand Down

0 comments on commit 8df2ecd

Please sign in to comment.