From dffb1e417895a708e8e05f0d1d955b58952d98af Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sat, 3 Feb 2024 22:01:56 +0900 Subject: [PATCH] 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 --- oslo_cache/_opts.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/oslo_cache/_opts.py b/oslo_cache/_opts.py index 95c59382..85b53977 100644 --- a/oslo_cache/_opts.py +++ b/oslo_cache/_opts.py @@ -123,10 +123,8 @@ FILE_OPTIONS = { help='Enable the SASL(Simple Authentication and Security' 'Layer) if the SASL_enable is true, else disable.'), cfg.StrOpt('memcache_username', - default='', help='the user name for the memcached which SASL enabled'), cfg.StrOpt('memcache_password', - default='', secret=True, help='the password for the memcached which SASL enabled'), cfg.StrOpt('redis_server',