From 43159fb7eac4f385e6aa45740c26698f6077560a Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Fri, 25 May 2018 08:08:36 -0700 Subject: Bug fix on OOM deploy script Change-Id: I2ddaa3cbfdebdc5c007ed077f92dfca51c904eb5 Issue-ID: INT-381 Signed-off-by: Gary Wu --- deployment/heat/onap-oom/scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deployment') 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 -- cgit 1.2.3-korg