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/
This commit is contained in:
ZhiQiang Fan 2014-01-22 22:56:59 +08:00
parent 6d323f43b4
commit 1b6ba54088

View File

@ -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
}