Skip to content

Commit 222da99

Browse files
committed
update failed to ping node to warn log level
1 parent 40a932c commit 222da99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/perf/publicip/publicip_task.go

Lines changed: 1 addition & 1 deletion
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.Debug().Err(err).Msgf("failed to ping node %d", node.NodeID)
249+
log.Warn().Err(err).Msgf("failed to ping node %d", node.NodeID)
250250
continue
251251
}
252252
return false, nil

0 commit comments

Comments
 (0)