Code Review
/
integration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ab97a6f
)
Fix bug in retry script
27/28927/1
author
Gary Wu
<gary.i.wu@huawei.com>
Tue, 23 Jan 2018 14:41:18 +0000
(06:41 -0800)
committer
Gary Wu
<gary.i.wu@huawei.com>
Tue, 23 Jan 2018 14:41:18 +0000
(06:41 -0800)
Change-Id: Id69235c830f59fc8fbb43b0b87411ffa8572d422
Issue-ID: INT-381
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
deployment/heat/onap-oom/scripts/deploy.sh
patch
|
blob
|
history
diff --git
a/deployment/heat/onap-oom/scripts/deploy.sh
b/deployment/heat/onap-oom/scripts/deploy.sh
index
619a7c1
..
961a8ba
100755
(executable)
--- a/
deployment/heat/onap-oom/scripts/deploy.sh
+++ b/
deployment/heat/onap-oom/scripts/deploy.sh
@@
-30,7
+30,7
@@
for n in $(seq 1 5); do
sleep 10
done
-if
[ ! timeout 1 ping -c 1 "$K8S_IP" ] && [ ! timeout 1 ping -c 1 "$RANCHER_IP" ]
; then
+if
! timeout 1 ping -c 1 "$K8S_IP" || ! timeout 1 ping -c 1 "$RANCHER_IP"
; then
exit 2
fi