Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rnemeth90 committed Apr 19, 2024
1 parent 492cdf2 commit 2f055ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/httping/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func main() {
func run(ctx context.Context, config config, writer io.Writer) error {
var count int
var respForStats []*httping.HttpResponse
var statsPrinted bool // Add this line to track if stats were printed
var statsPrinted bool

defer func() {
if !statsPrinted && len(respForStats) > 0 {
Expand Down

0 comments on commit 2f055ca

Please sign in to comment.