Browse code

BM-15011 Fix: change IP address when we check HZ status

Manuel Guilley authored on 03/07/2019 10:53:57
Showing 1 changed files
... ...
@@ -7,7 +7,7 @@ source ${WORKSPACE}"/check.lib"
7 7
 
8 8
 installationId="72D26E8A-5BB1-48A4-BC71-EEE92E0CE4EE"
9 9
 
10
-state=$(curl --silent --connect-timeout 5 --data "bluemind-${installationId}&dev-pass" http://127.0.0.1:5701/hazelcast/rest/management/cluster/state)
10
+state=$(curl --silent --connect-timeout 5 --data "bluemind-${installationId}&dev-pass" http://$(hostname -i):5701/hazelcast/rest/management/cluster/state)
11 11
 result=$?
12 12
 
13 13
 if [[ "$result" > 0 ]]