Merge "Fix glance standalone when tls-proxy is disabled"

This commit is contained in:
Zuul 2020-07-18 18:57:52 +00:00 committed by Gerrit Code Review
commit 46953439c2

View File

@ -262,6 +262,7 @@ function configure_glance {
else
write_local_proxy_http_config glance "http://$GLANCE_SERVICE_HOST:$GLANCE_SERVICE_PORT_INT" "/image"
iniset $GLANCE_API_CONF DEFAULT bind_host $GLANCE_SERVICE_LISTEN_ADDRESS
iniset $GLANCE_API_CONF DEFAULT bind_port $GLANCE_SERVICE_PORT_INT
iniset $GLANCE_API_CONF DEFAULT workers "$API_WORKERS"
fi
}