Skip to content

Commit 8a1b300

Browse files
authored
chore(scripts): Fix setup script (argoproj-labs#188)
Signed-off-by: John Pitman <[email protected]>
1 parent b0eaca8 commit 8a1b300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/demo-env/setup-vcluster-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ wait_for_pods() {
6969
echo " -> Waiting for $1 pods to be running. Expecting $2 running pods."
7070

7171
kubectl get pods --context="$1" -A
72-
RUNNING_PODS=`kubectl get pods --context="$1" -A | grep "Running" | wc -l`
72+
RUNNING_PODS=`kubectl get pods --context="$1" -A | grep "Running" | wc -l | tr -d '[:space:]'`
7373

7474
if [[ "$RUNNING_PODS" == "$2" ]]; then
7575
break

0 commit comments

Comments
 (0)