mirror of
https://github.com/certbot/certbot.git
synced 2026-04-15 22:20:28 -04:00
Replace '-' with '_' before filtering plugin settings
This bug notably occurs when renewing certs for with the plugin `letsencrypt-s3front`
This commit is contained in:
parent
d05f53bd53
commit
3a9769acbf
1 changed files with 1 additions and 0 deletions
|
|
@ -143,6 +143,7 @@ def _restore_plugin_configs(config, renewalparams):
|
|||
if renewalparams.get("installer", None) is not None:
|
||||
plugin_prefixes.append(renewalparams["installer"])
|
||||
for plugin_prefix in set(plugin_prefixes):
|
||||
plugin_prefix = plugin_prefix.replace('-', '_')
|
||||
for config_item, config_value in six.iteritems(renewalparams):
|
||||
if config_item.startswith(plugin_prefix + "_") and not cli.set_by_cli(config_item):
|
||||
# Values None, True, and False need to be treated specially,
|
||||
|
|
|
|||
Loading…
Reference in a new issue