summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2021-04-07 10:22:43 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2021-04-07 10:22:43 +0800
commita836cf3d744580acd03718c5efbe068c3ecb7e4c (patch)
treede01a5880a8de6e4754e381c5dd1148263708ee9 /engine-d-standalone
parent87f963708646351b380285fcef1beb3951d729ef (diff)
Fixed the Start-up Failure in the Dualstack Env1.3.3
Change-Id: Id57d5a629f2f7c0146deda8ab243444cab94606e Issue-ID: HOLMES-429 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'engine-d-standalone')
-rw-r--r--engine-d-standalone/pom.xml2
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine-d-standalone/pom.xml b/engine-d-standalone/pom.xml
index 8d51a4f..ffc5532 100644
--- a/engine-d-standalone/pom.xml
+++ b/engine-d-standalone/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.onap.holmes.engine-management</groupId>
<artifactId>holmes-engine-parent</artifactId>
- <version>1.3.2-SNAPSHOT</version>
+ <version>1.3.3-SNAPSHOT</version>
</parent>
<artifactId>holmes-engine-d-standalone</artifactId>
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh
index 83b5275..f565e2e 100644
--- a/engine-d-standalone/src/main/assembly/bin/run.sh
+++ b/engine-d-standalone/src/main/assembly/bin/run.sh
@@ -57,7 +57,7 @@ else
sed -i "s|password:.*|password: $JDBC_PASSWORD|" "$main_path/conf/engine-d.yml"
fi
-export SERVICE_IP=`hostname -i`
+export SERVICE_IP=`hostname -i | awk '{print $1}'`
echo SERVICE_IP=${SERVICE_IP}
if [ ! -z ${TESTING} ] && [ ${TESTING} = 1 ]; then