Two typos made starting tls-proxy fail when CINDER_USE_MOD_WSGI is
False.
Change-Id: I0435282182087a36d987843699152c1c08c4a494
| ... | ... |
@@ -506,9 +506,9 @@ function start_cinder {
|
| 506 | 506 |
if [ "$CINDER_USE_MOD_WSGI" == "False" ]; then |
| 507 | 507 |
run_process c-api "$CINDER_BIN_DIR/cinder-api --config-file $CINDER_CONF" |
| 508 | 508 |
cinder_url=$service_protocol://$SERVICE_HOST:$service_port |
| 509 |
- # Start proxy if tsl enabled |
|
| 510 |
- if is_service_enabled tls_proxy; then |
|
| 511 |
- start_tls_proxy cinder '*' $CINDER_SERVICE_PORT $CINDER_SERVICE_HOST $CINDER_SERVICE_POR_INT |
|
| 509 |
+ # Start proxy if tls enabled |
|
| 510 |
+ if is_service_enabled tls-proxy; then |
|
| 511 |
+ start_tls_proxy cinder '*' $CINDER_SERVICE_PORT $CINDER_SERVICE_HOST $CINDER_SERVICE_PORT_INT |
|
| 512 | 512 |
fi |
| 513 | 513 |
else |
| 514 | 514 |
run_process "c-api" "$CINDER_BIN_DIR/uwsgi --ini $CINDER_UWSGI_CONF" |