From 52609c684af195b84d99473cfb7d286a972e334e Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Mon, 28 Aug 2017 11:49:28 +0000 Subject: [PATCH] Fix errors in tls-proxy startup for cinder Two typos made starting tls-proxy fail when CINDER_USE_MOD_WSGI is False. Change-Id: I0435282182087a36d987843699152c1c08c4a494 --- lib/cinder | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cinder b/lib/cinder index 03328f31b6..71b0683d75 100644 --- a/lib/cinder +++ b/lib/cinder @@ -506,9 +506,9 @@ function start_cinder { if [ "$CINDER_USE_MOD_WSGI" == "False" ]; then run_process c-api "$CINDER_BIN_DIR/cinder-api --config-file $CINDER_CONF" cinder_url=$service_protocol://$SERVICE_HOST:$service_port - # Start proxy if tsl enabled - if is_service_enabled tls_proxy; then - start_tls_proxy cinder '*' $CINDER_SERVICE_PORT $CINDER_SERVICE_HOST $CINDER_SERVICE_POR_INT + # Start proxy if tls enabled + if is_service_enabled tls-proxy; then + start_tls_proxy cinder '*' $CINDER_SERVICE_PORT $CINDER_SERVICE_HOST $CINDER_SERVICE_PORT_INT fi else run_process "c-api" "$CINDER_BIN_DIR/uwsgi --ini $CINDER_UWSGI_CONF"