Config: no need to set default=None

By default oslo.cfg sets the default value as None. There is no
need to explicitly do this.

TrivialFix

Change-Id: I8ba1e1d96a40f5563fba7e22af9bf02b9a7b13fa
This commit is contained in:
ChangBo Guo(gcb) 2016-06-28 15:41:55 +08:00
parent c31d2fca1c
commit 9c460e28ac
2 changed files with 0 additions and 2 deletions

View File

@ -24,7 +24,6 @@ release and will be removed in the O release.
admin_token = cfg.StrOpt( admin_token = cfg.StrOpt(
'admin_token', 'admin_token',
secret=True, secret=True,
default=None,
help=utils.fmt(""" help=utils.fmt("""
A "shared secret" that can be used to bootstrap Keystone. This "token" does not A "shared secret" that can be used to bootstrap Keystone. This "token" does not
represent a user, and carries no explicit authorization. If set to `None`, the represent a user, and carries no explicit authorization. If set to `None`, the

View File

@ -66,7 +66,6 @@ value to 0 disables this feature.
password_regex = cfg.StrOpt( password_regex = cfg.StrOpt(
'password_regex', 'password_regex',
default=None,
help=utils.fmt(""" help=utils.fmt("""
Regular expression used to validate password strength requirements. Setting the Regular expression used to validate password strength requirements. Setting the
value to None disables this feature. The following is an example of a pattern value to None disables this feature. The following is an example of a pattern