Fix Cinder tls-proxy WSGI test

This currently will throw errors like:

lib/cinder: line 480: [True: command not found

Change-Id: I6bc08532cf99411f39d23523f9fc7851e7804131
This commit is contained in:
Eric Harney 2017-08-02 11:40:41 -04:00 committed by Sean Dague
parent 801494550a
commit 8ea8660e36

View File

@ -478,7 +478,7 @@ function start_cinder {
local service_port=$CINDER_SERVICE_PORT
local service_protocol=$CINDER_SERVICE_PROTOCOL
local cinder_url
if is_service_enabled tls-proxy && ["$CINDER_USE_MOD_WSGI" == "False"]; then
if is_service_enabled tls-proxy && [ "$CINDER_USE_MOD_WSGI" == "False" ]; then
service_port=$CINDER_SERVICE_PORT_INT
service_protocol="http"
fi