aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-05-25 08:08:36 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-05-25 08:08:36 -0700
commit43159fb7eac4f385e6aa45740c26698f6077560a (patch)
treece5277282aebfd505b536597b39e16642502d6c9
parent060bc42881341b5b6259bc43895ab1ab5626189c (diff)
Bug fix on OOM deploy script
Change-Id: I2ddaa3cbfdebdc5c007ed077f92dfca51c904eb5 Issue-ID: INT-381 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rwxr-xr-xdeployment/heat/onap-oom/scripts/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployment/heat/onap-oom/scripts/deploy.sh b/deployment/heat/onap-oom/scripts/deploy.sh
index 98ba2bd6a..aaf5924e7 100755
--- 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