Skip to content
This repository was archived by the owner on May 14, 2018. It is now read-only.

Commit e903d69

Browse files
committed
Update
1 parent 0be96d0 commit e903d69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ do_wait_for_cluster() {
349349

350350
do_wait_for_cells() {
351351
info "Waiting for all cells to register..."
352-
while ! ./kubectl --cluster $(cluster) get pods | egrep '^brain-\w{10}-\w{5}' &> /dev/null; do continue; done
352+
while ! ./kubectl --cluster $(cluster) get pods | grep -v NotReady | grep Ready | egrep '^brain-\w{10}-\w{5}' &> /dev/null; do continue; done
353353
while [ $(./kubectl --cluster $(cluster) exec -it $(./kubectl --cluster $(cluster) get pods 2>/dev/null | egrep '^brain-\w{10}-\w{5}' | awk '{print $1}') -c brain brain cell ls | grep cell | wc -l 2> /dev/null) -ne $(cells | wc -l) ]; do continue; done
354354
info "All cells ready ($(cells | wc -l))"
355355
}

0 commit comments

Comments
 (0)