diff options
author | GuangrongFu <fu.guangrong@zte.com.cn> | 2021-04-07 10:18:09 +0800 |
---|---|---|
committer | GuangrongFu <fu.guangrong@zte.com.cn> | 2021-04-07 10:18:09 +0800 |
commit | e79e3198e01b4418a4c0eca046c1790be366d5dd (patch) | |
tree | b06ab34b7e65cda8af3b924131da683d51b67e75 /rulemgt-standalone | |
parent | 953912e40572001f830af4483d71a99e63578b18 (diff) |
Fixed the Start-up Failure in the Dualstack Env1.3.3
Change-Id: I17d2a8cd5cba6276e131f67365143db1dda53114
Issue-ID: HOLMES-429
Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'rulemgt-standalone')
-rw-r--r-- | rulemgt-standalone/pom.xml | 2 | ||||
-rw-r--r-- | rulemgt-standalone/src/main/assembly/bin/run.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rulemgt-standalone/pom.xml b/rulemgt-standalone/pom.xml index d8c3720..3658a22 100644 --- a/rulemgt-standalone/pom.xml +++ b/rulemgt-standalone/pom.xml @@ -23,7 +23,7 @@ <parent> <groupId>org.onap.holmes.rule-management</groupId> <artifactId>holmes-rulemgt-parent</artifactId> - <version>1.3.2-SNAPSHOT</version> + <version>1.3.3-SNAPSHOT</version> </parent> <artifactId>holmes-rulemgt-standalone</artifactId> diff --git a/rulemgt-standalone/src/main/assembly/bin/run.sh b/rulemgt-standalone/src/main/assembly/bin/run.sh index b710217..983ed62 100644 --- a/rulemgt-standalone/src/main/assembly/bin/run.sh +++ b/rulemgt-standalone/src/main/assembly/bin/run.sh @@ -57,7 +57,7 @@ else sed -i "s|url:.*|url: jdbc:postgresql://$URL_JDBC/$DB_NAME|" "$main_path/conf/rulemgt.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 |