Skip to content

Commit 2cd0e7f

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Stop describing defaults explicitly"
2 parents 5929a5c + e786d93 commit 2cd0e7f

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

magnum/conf/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
),
3333
cfg.StrOpt('ssl_cert_file',
3434
help="This option allows setting path to the SSL certificate "
35-
"of API server. "),
35+
"of API server."),
3636
cfg.StrOpt('ssl_key_file',
3737
help="This option specifies the path to the file where SSL "
3838
"private key of API server is stored when SSL is in "
39-
"effect. "),
39+
"effect."),
4040
cfg.BoolOpt('enabled_ssl',
4141
default=False,
4242
help='Enable SSL Magnum API service'),

magnum/conf/certificates.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@
2323
cert_manager_opts = [
2424
cfg.StrOpt('cert_manager_type',
2525
default=DEFAULT_CERT_MANAGER,
26-
help='Certificate Manager plugin. '
27-
'Defaults to {0}.'.format(DEFAULT_CERT_MANAGER))
26+
help='Certificate Manager plugin.')
2827
]
2928

3029
local_cert_manager_opts = [
3130
cfg.StrOpt('storage_path',
3231
default=TLS_STORAGE_DEFAULT,
33-
help='Absolute path of the certificate storage directory. '
34-
'Defaults to /var/lib/magnum/certificates/.')
32+
help='Absolute path of the certificate storage directory.')
3533
]
3634

3735
ALL_OPTS = list(itertools.chain(

magnum/conf/drivers.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,13 @@
3232
'install in all cluster nodes.'),
3333
cfg.ListOpt('disabled_drivers',
3434
default=[],
35-
help='Disabled driver entry points. The default value is []. '
36-
' Means if not specified, then all available drivers '
37-
'are enabled.'
35+
help='Disabled driver entry points. If empty, then all '
36+
'available drivers are enabled.'
3837
),
3938
cfg.ListOpt('enabled_beta_drivers',
4039
default=[],
4140
help='List of beta drivers to enable. Beta drivers are not '
42-
' intended for production. Defaults to []. '
41+
'intended for production.'
4342
),
4443
]
4544

magnum/conf/x509.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
default=365 * 5,
4949
help=_('Number of days for which a certificate is valid.')),
5050
cfg.IntOpt('rsa_key_size',
51-
default=2048, help=_('Size of generated private key. '))]
51+
default=2048, help=_('Size of generated private key.'))]
5252

5353

5454
def register_opts(conf):

0 commit comments

Comments
 (0)