Skip to content

Commit 99889ad

Browse files
yeahdongcngxglls
authored andcommitted
Also fix one typo (resouces => resources)
1 parent 740e845 commit 99889ad

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

scripts/install_iomesh_coreos.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ install_iomesh() {
153153
error "fail to install IOMesh."
154154
fi
155155

156-
#TODO(ziyin): check more resouces after install
156+
#TODO(ziyin): check more resources after install
157157
timeout=200 # 200s
158158
while true ; do
159159
if kubectl get pod ${IOMESH_RELEASE}-chunk-0 -n ${IOMESH_NAMESPACE} &> /dev/null ; then
@@ -163,13 +163,13 @@ install_iomesh() {
163163
sleep 5
164164
timeout=$(( timeout-5 ))
165165
if [[ $timeout -le 0 ]] ; then
166-
error "IOMesh resouces not all ready, use kubectl to check reason"
166+
error "IOMesh resources not all ready, use kubectl to check reason"
167167
fi
168168
done
169169

170170
kubectl wait pod/${IOMESH_RELEASE}-chunk-0 --for condition=ready -n ${IOMESH_NAMESPACE} --timeout=600s
171171
if [[ $? -ne 0 ]] ; then
172-
error "IOMesh resouces not all ready, use kubectl to check reason"
172+
error "IOMesh resources not all ready, use kubectl to check reason"
173173
fi
174174
}
175175

scripts/install_iomesh_el7.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ install_iomesh() {
149149
error "fail to install IOMesh."
150150
fi
151151

152-
#TODO(ziyin): check more resouces after install
152+
#TODO(ziyin): check more resources after install
153153
timeout=400 # 400s
154154
while true ; do
155155
if kubectl get pod ${IOMESH_RELEASE}-chunk-0 -n ${IOMESH_NAMESPACE} &> /dev/null ; then
@@ -159,13 +159,13 @@ install_iomesh() {
159159
sleep 5
160160
timeout=$(( timeout-5 ))
161161
if [[ $timeout -le 0 ]] ; then
162-
error "IOMesh resouces not all ready, use kubectl to check reason"
162+
error "IOMesh resources not all ready, use kubectl to check reason"
163163
fi
164164
done
165165

166166
kubectl wait pod/${IOMESH_RELEASE}-chunk-0 --for condition=ready -n ${IOMESH_NAMESPACE} --timeout=600s
167167
if [[ $? -ne 0 ]] ; then
168-
error "IOMesh resouces not all ready, use kubectl to check reason"
168+
error "IOMesh resources not all ready, use kubectl to check reason"
169169
fi
170170
}
171171

scripts/install_iomesh_el8.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ install_iomesh() {
149149
error "fail to install IOMesh."
150150
fi
151151

152-
#TODO(ziyin): check more resouces after install
152+
#TODO(ziyin): check more resources after install
153153
timeout=400 # 400s
154154
while true ; do
155155
if kubectl get pod ${IOMESH_RELEASE}-chunk-0 -n ${IOMESH_NAMESPACE} &> /dev/null ; then
@@ -159,13 +159,13 @@ install_iomesh() {
159159
sleep 5
160160
timeout=$(( timeout-5 ))
161161
if [[ $timeout -le 0 ]] ; then
162-
error "IOMesh resouces not all ready, use kubectl to check reason"
162+
error "IOMesh resources not all ready, use kubectl to check reason"
163163
fi
164164
done
165165

166166
kubectl wait pod/${IOMESH_RELEASE}-chunk-0 --for condition=ready -n ${IOMESH_NAMESPACE} --timeout=600s
167167
if [[ $? -ne 0 ]] ; then
168-
error "IOMesh resouces not all ready, use kubectl to check reason"
168+
error "IOMesh resources not all ready, use kubectl to check reason"
169169
fi
170170
}
171171

0 commit comments

Comments
 (0)