Fix config option type
Time in days is an integer, not a string. This fixes a warning when generating the config file: UserWarning: converting '1' to a string (see output of tox -e py36) Change-Id: Ia5c5b556abb8dc060cb0cb54ccbf09ec8ae4a5c1
This commit is contained in:
@@ -46,7 +46,7 @@ dogtag_plugin_opts = [
|
|||||||
cfg.StrOpt('auto_approved_profiles',
|
cfg.StrOpt('auto_approved_profiles',
|
||||||
default="caServerCert",
|
default="caServerCert",
|
||||||
help=u._('List of automatically approved enrollment profiles')),
|
help=u._('List of automatically approved enrollment profiles')),
|
||||||
cfg.StrOpt('ca_expiration_time',
|
cfg.IntOpt('ca_expiration_time',
|
||||||
default=cm.CA_INFO_DEFAULT_EXPIRATION_DAYS,
|
default=cm.CA_INFO_DEFAULT_EXPIRATION_DAYS,
|
||||||
help=u._('Time in days for CA entries to expire')),
|
help=u._('Time in days for CA entries to expire')),
|
||||||
cfg.StrOpt('plugin_working_dir',
|
cfg.StrOpt('plugin_working_dir',
|
||||||
|
|||||||
Reference in New Issue
Block a user