Skip to content

Commit 8da951d

Browse files
Fix incorrect extra logging of vttablet-up.sh
Signed-off-by: Rohit Nayak <[email protected]>
1 parent 578383a commit 8da951d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/common/backup-scripts/vttablet-up.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ for i in $(seq 0 300); do
6565
sleep 0.1
6666
done
6767

68-
# check one last time
69-
curl -I "http://$hostname:$port/debug/status" || fail "tablet could not be started!"
7068

7169
echo "=======================" vttablet.out start ======================="
7270
cat $VTDATAROOT/$tablet_dir/vttablet.out
@@ -75,4 +73,7 @@ echo "=======================" vttablet logs start ======================="
7573
cat $VTDATAROOT/tmp/*vttablet*
7674
echo "=======================" vttablet logs end ======================="
7775

76+
# check one last time
77+
curl -I "http://$hostname:$port/debug/status" || fail "tablet could not be started!"
78+
7879
echo -e "vttablet for $alias is running!"

0 commit comments

Comments
 (0)