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:
Andreas Jaeger 2020-04-29 21:30:30 +02:00
parent 7c6389094c
commit 9c98b9a72e
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ dogtag_plugin_opts = [
cfg.StrOpt('auto_approved_profiles',
default="caServerCert",
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,
help=u._('Time in days for CA entries to expire')),
cfg.StrOpt('plugin_working_dir',