From b5b7bdadb81ec6fbda302c589dc4d388bfaaf3d6 Mon Sep 17 00:00:00 2001 From: Siri Kim Date: Tue, 1 Aug 2017 18:55:12 +0900 Subject: [PATCH] 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 --- helm-toolkit/templates/scripts/_ks-endpoints.sh.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-toolkit/templates/scripts/_ks-endpoints.sh.tpl b/helm-toolkit/templates/scripts/_ks-endpoints.sh.tpl index 0c19a85eb2..a3199a764a 100755 --- a/helm-toolkit/templates/scripts/_ks-endpoints.sh.tpl +++ b/helm-toolkit/templates/scripts/_ks-endpoints.sh.tpl @@ -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"