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:
parent
04e015e49b
commit
b5b7bdadb8
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user