Skip to content

Commit eee4faa

Browse files
committed
log retry error in perf tests with Debug level
1 parent 4c22507 commit eee4faa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/perf/publicip/publicip_task.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ func isLeastValidNode(ctx context.Context, farmID uint32, substrateGateway *stub
246246
// stop at three and quiet output
247247
err = exec.CommandContext(ctx, "ping", "-c", "3", "-q", ip).Run()
248248
if err != nil {
249-
log.Err(err).Msgf("failed to ping node %d", node.NodeID)
249+
log.Debug().Err(err).Msgf("failed to ping node %d", node.NodeID)
250250
continue
251251
}
252252
return false, nil
@@ -336,7 +336,6 @@ func getPublicIPFromSTUN(stunServer string) (net.IP, error) {
336336
return
337337
}
338338
})
339-
340339
if err != nil {
341340
return nil, fmt.Errorf("STUN request failed: %w", err)
342341
}

0 commit comments

Comments
 (0)