Use SERVICE_PROTOCOL variable in the devstack plugin

Vitrage service be deployed with TLS in Devstack, so we need to honor
SERVICE_PROTOCOL variable to set correct value for VITRAGE_SERVICE_PROTOCOL

Change-Id: Ic22be897e255bb19f17009fbc38ca282273f3c95
This commit is contained in:
Ivan Kolodyazhny 2020-03-31 22:56:14 +03:00
parent 35fc976e5f
commit eb1bf8619f

View File

@ -25,7 +25,7 @@ VITRAGE_PUBLIC_UWSGI=$VITRAGE_DIR/vitrage/api/app.wsgi
VITRAGE_DATABASE=${VITRAGE_DATABASE:-mysql}
# Vitrage connection info.
VITRAGE_SERVICE_PROTOCOL=http
VITRAGE_SERVICE_PROTOCOL=$SERVICE_PROTOCOL
VITRAGE_SERVICE_HOST=$SERVICE_HOST
VITRAGE_SERVICE_PORT=${VITRAGE_SERVICE_PORT:-8999}