Use MEMCACHE_SERVERS in configure_keystone_authtoken_middleware

The function was using a hard coded value of localhost:11211 when
we have an option MEMCACHE_SERVERS that can be defined and used
inside DevStack.

Change-Id: I4947928fe406a9844d5bdaa3c826d273952fa097
This commit is contained in:
Mohammed Naser 2020-03-18 15:35:27 -04:00
parent 3bbad9d150
commit 7db34f6cae

View File

@ -421,7 +421,7 @@ function configure_keystone_authtoken_middleware {
iniset $conf_file $section project_domain_name "$SERVICE_DOMAIN_NAME" iniset $conf_file $section project_domain_name "$SERVICE_DOMAIN_NAME"
iniset $conf_file $section cafile $SSL_BUNDLE_FILE iniset $conf_file $section cafile $SSL_BUNDLE_FILE
iniset $conf_file $section memcached_servers localhost:11211 iniset $conf_file $section memcached_servers $MEMCACHE_SERVERS
} }
# configure_auth_token_middleware conf_file admin_user IGNORED [section] # configure_auth_token_middleware conf_file admin_user IGNORED [section]