Merge "Make ODL healthcheck IPv6 compatible"
This commit is contained in:
commit
51d3c17c8e
@ -11,4 +11,9 @@ else
|
||||
bind_port=$(awk -F "= *" '/^org.osgi.service.http.port.secure/ {print $2}' $file)
|
||||
fi
|
||||
|
||||
# Make Healthcheck URL IPv6 compatible
|
||||
if [[ $bind_host =~ .*:.* ]]; then
|
||||
bind_host="[${bind_host}]"
|
||||
fi
|
||||
|
||||
healthcheck_curl http://$bind_host:$bind_port/diagstatus
|
||||
|
Loading…
Reference in New Issue
Block a user