From 1b6ba540887ab73432488f5d81339227052c423c Mon Sep 17 00:00:00 2001 From: ZhiQiang Fan Date: Wed, 22 Jan 2014 22:56:59 +0800 Subject: [PATCH] Remove unnecessary slash from ceilometer endpoint The last slash in ceilometer endpoint is not needed, it should be removed because it will generate redundant slash which has been treated as a bug in ceilometer. Change-Id: Ifcff9b63921f5b1dda667d8e77aab22ca2928a8b Closes-Bug: #1271556 ref: https://review.openstack.org/#/c/63279/ --- lib/ceilometer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ceilometer b/lib/ceilometer index 75058c05a5..18f146eb90 100644 --- a/lib/ceilometer +++ b/lib/ceilometer @@ -85,9 +85,9 @@ create_ceilometer_accounts() { keystone endpoint-create \ --region RegionOne \ --service_id $CEILOMETER_SERVICE \ - --publicurl "$CEILOMETER_SERVICE_PROTOCOL://$CEILOMETER_SERVICE_HOST:$CEILOMETER_SERVICE_PORT/" \ - --adminurl "$CEILOMETER_SERVICE_PROTOCOL://$CEILOMETER_SERVICE_HOST:$CEILOMETER_SERVICE_PORT/" \ - --internalurl "$CEILOMETER_SERVICE_PROTOCOL://$CEILOMETER_SERVICE_HOST:$CEILOMETER_SERVICE_PORT/" + --publicurl "$CEILOMETER_SERVICE_PROTOCOL://$CEILOMETER_SERVICE_HOST:$CEILOMETER_SERVICE_PORT" \ + --adminurl "$CEILOMETER_SERVICE_PROTOCOL://$CEILOMETER_SERVICE_HOST:$CEILOMETER_SERVICE_PORT" \ + --internalurl "$CEILOMETER_SERVICE_PROTOCOL://$CEILOMETER_SERVICE_HOST:$CEILOMETER_SERVICE_PORT" fi fi }