memcache: Remove "default" username and password

Because these are not intentional default. Usage of an empty string can
confuse 'is None' check in underlying libraries.

Change-Id: Ia98bfc5f9a42c13acfdb2192bb1fa11773f6ccf8
This commit is contained in:
Takashi Kajinami 2024-02-03 22:01:56 +09:00
parent b7b83ca685
commit dffb1e4178

View File

@ -123,10 +123,8 @@ FILE_OPTIONS = {
help='Enable the SASL(Simple Authentication and Security' help='Enable the SASL(Simple Authentication and Security'
'Layer) if the SASL_enable is true, else disable.'), 'Layer) if the SASL_enable is true, else disable.'),
cfg.StrOpt('memcache_username', cfg.StrOpt('memcache_username',
default='',
help='the user name for the memcached which SASL enabled'), help='the user name for the memcached which SASL enabled'),
cfg.StrOpt('memcache_password', cfg.StrOpt('memcache_password',
default='',
secret=True, secret=True,
help='the password for the memcached which SASL enabled'), help='the password for the memcached which SASL enabled'),
cfg.StrOpt('redis_server', cfg.StrOpt('redis_server',