From d78c2fbd1a06b9ca681c3cc628a11fd6bc392bb2 Mon Sep 17 00:00:00 2001 From: Neelima Mukiri Date: Wed, 21 Jun 2017 12:24:10 -0700 Subject: [PATCH] Running shfmt on the new files --- scripts/vagrantup.sh | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/scripts/vagrantup.sh b/scripts/vagrantup.sh index 191243c..5088de7 100755 --- a/scripts/vagrantup.sh +++ b/scripts/vagrantup.sh @@ -4,17 +4,15 @@ set -euo pipefail num_nodes=${CONTIV_NODES-2} num_masters=${CONTIV_MASTERS-1} -((num_workers=$num_nodes - $num_masters)) +((num_workers = $num_nodes - $num_masters)) orc=$1 cd cluster vagrant up $orc-master -for (( n=1; n<$num_masters; n++ )) -do - vagrant up $orc-master$n +for ((n = 1; n < $num_masters; n++)); do + vagrant up $orc-master$n done -for (( n=0; n<$num_workers; n++ )) -do - vagrant up $orc-worker$n -done \ No newline at end of file +for ((n = 0; n < $num_workers; n++)); do + vagrant up $orc-worker$n +done