We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0eaca8 commit 8a1b300Copy full SHA for 8a1b300
hack/demo-env/setup-vcluster-env.sh
@@ -69,7 +69,7 @@ wait_for_pods() {
69
echo " -> Waiting for $1 pods to be running. Expecting $2 running pods."
70
71
kubectl get pods --context="$1" -A
72
- RUNNING_PODS=`kubectl get pods --context="$1" -A | grep "Running" | wc -l`
+ RUNNING_PODS=`kubectl get pods --context="$1" -A | grep "Running" | wc -l | tr -d '[:space:]'`
73
74
if [[ "$RUNNING_PODS" == "$2" ]]; then
75
break
0 commit comments