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:
86a07ab
)
Bug fix on OOM deploy script
45/49145/1
author
Gary Wu
<gary.i.wu@huawei.com>
Fri, 25 May 2018 15:08:36 +0000
(08:08 -0700)
committer
Gary Wu
<gary.i.wu@huawei.com>
Fri, 25 May 2018 15:09:21 +0000
(15:09 +0000)
Change-Id: I2ddaa3cbfdebdc5c007ed077f92dfca51c904eb5
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
98ba2bd
..
aaf5924
100755
(executable)
--- a/
deployment/heat/onap-oom/scripts/deploy.sh
+++ b/
deployment/heat/onap-oom/scripts/deploy.sh
@@
-71,7
+71,7
@@
if [ "$ROBOT_POD" == "" ]; then
exit 1
fi
-LOG_DIR=$(echo "kubectl exec -n onap $ROBOT_POD -- ls -1t /share/logs | grep
{robot-tag}
| head -1" | ssh -i $SSH_KEY ubuntu@$RANCHER_IP sudo su)
+LOG_DIR=$(echo "kubectl exec -n onap $ROBOT_POD -- ls -1t /share/logs | grep
health
| head -1" | ssh -i $SSH_KEY ubuntu@$RANCHER_IP sudo su)
if [ "$LOG_DIR" == "" ]; then
exit 1
fi