From a3d39b4327d27046bd65d3d9b5d29ce7a0467564 Mon Sep 17 00:00:00 2001
From: Utz-Uwe Haus <uhaus@cray.com>
Date: Fri, 2 Oct 2020 18:34:21 +0200
Subject: [PATCH] fix syntax error in generate-mio-config.sh

---
 tests/generate-mio-config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generate-mio-config.sh b/tests/generate-mio-config.sh
index a20deb46..044a4226 100755
--- a/tests/generate-mio-config.sh
+++ b/tests/generate-mio-config.sh
@@ -18,7 +18,7 @@ else
 	MERO_HA_IP=`hctl mero status | grep -2 CST_HA|grep -2 "$HOSTNAME" |head -2|tail -1|sed -e 's/^.*\[[^]]\+] [^ ]\+:[^ ]\+ \+\([^ ]\+\).*$/\1/'`
 	# find the part of the local clovis service address that we stick our mero-id onto
 	CLOVIS_IP=`hctl mero status | grep -A10 "$HOSTNAME" |grep -A1 CST_RMS|grep -v CST_RMS|head -1|sed -e 's/^.*\[[^]]\+] [^ ]\+:[^ ]\+ \+\([^ ]\+\).*$/\1/' | sed -e 's/\(.*\):[0-9]\+ $/\1:$1/'`
-endif
+fi
 
 
 cat >mio-config.yaml <<EOF
-- 
GitLab