diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-05-25 08:08:36 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-05-25 15:09:21 +0000 |
commit | bea96298eea47ca1f32ce0dfece057e8e99d2917 (patch) | |
tree | b522f02eedf12561dcff1ad642914ba2d90f3941 /deployment/heat/onap-oom/scripts/deploy.sh | |
parent | 86a07ab24966fef9a44d0884dc81ce5d79427f47 (diff) |
Bug fix on OOM deploy script
Change-Id: I2ddaa3cbfdebdc5c007ed077f92dfca51c904eb5
Issue-ID: INT-381
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/scripts/deploy.sh')
-rwxr-xr-x | deployment/heat/onap-oom/scripts/deploy.sh | 2 |
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 |