Fix openstack endpoint option at _ks-endpoint.sh

This PS fix openstack endpoint show option at _ks-endpoint.sh
as job-ks-endpoint fails when endpoint needs updated.

Change-Id: I8aa05f3d40e7825410eace3ad7b44d36e3bb6434
This commit is contained in:
Siri Kim 2017-08-01 18:55:12 +09:00
parent 04e015e49b
commit b5b7bdadb8

View File

@ -52,7 +52,7 @@ fi
# Determine if Endpoint needs updated
if [[ ${OS_ENDPOINT_ID} ]]; then
OS_ENDPOINT_URL_CURRENT=$(openstack endpoint show ${OS_ENDPOINT_ID} --f value -c url)
OS_ENDPOINT_URL_CURRENT=$(openstack endpoint show ${OS_ENDPOINT_ID} -f value -c url)
if [ "${OS_ENDPOINT_URL_CURRENT}" == "${OS_SERVICE_ENDPOINT}" ]; then
echo "Endpoints Match: no action required"
OS_ENDPOINT_UPDATE="False"