Remove default=None for config options
In oslo.config, all type config options have default value None if don't set parameter default. So don't need set this config option. Change-Id: I4d53eea263a3e12b7269076b8b566b6851457bd9
This commit is contained in:
parent
d79d682cfd
commit
0c82abc6f8
@ -105,7 +105,6 @@ than the `password_expires_days`.
|
||||
|
||||
password_regex = cfg.StrOpt(
|
||||
'password_regex',
|
||||
default=None,
|
||||
help=utils.fmt("""
|
||||
The regular expression used to validate password strength requirements. By
|
||||
default, the regular expression will match any password. The following is an
|
||||
@ -116,7 +115,6 @@ depends on the `sql` backend for the `[identity] driver`.
|
||||
|
||||
password_regex_description = cfg.StrOpt(
|
||||
'password_regex_description',
|
||||
default=None,
|
||||
help=utils.fmt("""
|
||||
Describe your password regular expression here in language for humans. If a
|
||||
password fails to match the regular expression, the contents of this
|
||||
|
Loading…
Reference in New Issue
Block a user