Skip to content

Commit 6f493e7

Browse files
author
Lily He
committed
minor change in create-weblogic-domain.sh
1 parent be5017e commit 6f493e7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

kubernetes/internal/create-weblogic-domain.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -648,18 +648,18 @@ function setupVoyagerLoadBalancer {
648648
# deploy Voyager Ingress resource
649649
kubectl apply -f ${voyagerOutput}
650650

651-
echo Checking Voyager deploy
651+
echo Checking Voyager Ingress resource
652652
local maxwaitsecs=100
653653
local mstart=`date +%s`
654654
while : ; do
655655
local mnow=`date +%s`
656-
local vdep=`kubectl get deploy -n ${namespace} | grep ${domainUID}-voyager | wc | awk ' { print $1; } '`
656+
local vdep=`kubectl get ingresses.voyager.appscode.com -n ${namespace} | grep ${domainUID}-voyager | wc | awk ' { print $1; } '`
657657
if [ "$vdep" = "1" ]; then
658-
echo 'The deployment ${domainUID}-voyager is created successful.'
658+
echo 'The Voyager Ingress resource ${domainUID}-voyager is created successfully.'
659659
break
660660
fi
661661
if [ $((mnow - mstart)) -gt $((maxwaitsecs)) ]; then
662-
fail "The deployment ${domainUID}-voyager was not created."
662+
fail "The Voyager Ingress resource ${domainUID}-voyager was not created."
663663
fi
664664
sleep 5
665665
done
@@ -671,7 +671,7 @@ function setupVoyagerLoadBalancer {
671671
local mnow=`date +%s`
672672
local vscv=`kubectl get service ${domainUID}-voyager-stats -n ${namespace} | grep ${domainUID}-voyager-stats | wc | awk ' { print $1; } '`
673673
if [ "$vscv" = "1" ]; then
674-
echo 'The service ${domainUID}-voyager-stats is created successful.'
674+
echo 'The service ${domainUID}-voyager-stats is created successfully.'
675675
break
676676
fi
677677
if [ $((mnow - mstart)) -gt $((maxwaitsecs)) ]; then

0 commit comments

Comments
 (0)