summaryrefslogtreecommitdiffstats
path: root/ci/check_os.sh
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-07-04 07:39:56 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-04 07:39:56 +0000
commited39c21344dc4b4209eb4319ba15ce60defc3e90 (patch)
treef5c9a08f23196cc3a728beadf375199eee083db9 /ci/check_os.sh
parent32462ed96c883239a9aac15faa70d97a78780fdb (diff)
parentbbc47d487f06da2906116e5ade134e11c4221786 (diff)
Merge "Change OpenStack clean behaviour"
Diffstat (limited to 'ci/check_os.sh')
-rwxr-xr-xci/check_os.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/check_os.sh b/ci/check_os.sh
index c9e0b5136..38fe32f58 100755
--- a/ci/check_os.sh
+++ b/ci/check_os.sh
@@ -26,7 +26,7 @@ fi
echo "Checking OpenStack endpoints:"
publicURL=$OS_AUTH_URL
publicIP=$(echo $publicURL|sed 's/^.*http\:\/\///'|sed 's/.[^:]*$//')
-publicPort=$(echo $publicURL|sed 's/^.*://'|sed 's/.[^\/]*$//')
+publicPort=$(echo $publicURL|sed 's/^.*://'|sed 's/\/.*$//')
echo ">>Verifying connectivity to the public endpoint $publicIP:$publicPort..."
verify_connectivity $publicIP $publicPort
RETVAL=$?