Browse code

fix typo in lib/ceilometer

this should be is_service_enabled and not service_enabled. Not
sure why it passes in the gate, but it fails in stackforge jobs.

Change-Id: I876f72cd98ff9c8e4ea28832bc9ac6bbdc3b865d

Sean Dague authored on 2014/03/05 05:02:04
Showing 1 changed files
... ...
@@ -209,7 +209,7 @@ function start_ceilometer {
209 209
     screen_it ceilometer-api "cd ; ceilometer-api -d -v --log-dir=$CEILOMETER_API_LOG_DIR --config-file $CEILOMETER_CONF"
210 210
 
211 211
     # only die on API if it was actually intended to be turned on
212
-    if service_enabled ceilometer-api; then
212
+    if is_service_enabled ceilometer-api; then
213 213
         echo "Waiting for ceilometer-api to start..."
214 214
         if ! timeout $SERVICE_TIMEOUT sh -c "while ! curl --noproxy '*' -s http://localhost:8777/v2/ >/dev/null; do sleep 1; done"; then
215 215
             die $LINENO "ceilometer-api did not start"