From 1a848e22eaf0ed9b48bb777e43e85f97765aca9c Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Fri, 15 Jan 2021 21:19:33 +0000 Subject: [PATCH] net/net.sh: Quite pre-emptible instance status check (#14618) (cherry picked from commit 7b67228bc12c6c9ed78ef1db8595ae359a86ec45) Co-authored-by: Trent Nelson --- net/net.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/net.sh b/net/net.sh index 44fdecb29b..a6b9755d6f 100755 --- a/net/net.sh +++ b/net/net.sh @@ -723,8 +723,7 @@ checkPremptibleInstances() { # immediately after its successfully pinged. for ipAddress in "${validatorIpList[@]}"; do ( - set -x - timeout 5s ping -c 1 "$ipAddress" | tr - _ + timeout 5s ping -c 1 "$ipAddress" | tr - _ &>/dev/null ) || { cat <