Remove debugging artifacts
The change in 027e2ea741
included some
debugging code that should have been removed before being added. This
removes it.
Change-Id: Ia56e1eb7305683b6c00b27a727fc8e094c65a963
This commit is contained in:
@@ -156,8 +156,6 @@ function _cleanup_ceilometer_apache_wsgi {
|
|||||||
# runs that a clean run would need to clean up
|
# runs that a clean run would need to clean up
|
||||||
function cleanup_ceilometer {
|
function cleanup_ceilometer {
|
||||||
if [ "$CEILOMETER_BACKEND" = 'mongodb' ] ; then
|
if [ "$CEILOMETER_BACKEND" = 'mongodb' ] ; then
|
||||||
echo "### cleaning database"
|
|
||||||
read
|
|
||||||
mongo ceilometer --eval "db.dropDatabase();"
|
mongo ceilometer --eval "db.dropDatabase();"
|
||||||
elif [ "$CEILOMETER_BACKEND" = 'es' ] ; then
|
elif [ "$CEILOMETER_BACKEND" = 'es' ] ; then
|
||||||
curl -XDELETE "localhost:9200/events_*"
|
curl -XDELETE "localhost:9200/events_*"
|
||||||
|
Reference in New Issue
Block a user