mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 00:35:03 +02:00
Don't use quoted None for plugins in the config (#6195)
This stops us from printing messages like: "Could not choose appropriate plugin for updaters: Could not select or initialize the requested installer None." when certbot renew --force-renewal is run with a lineage that doesn't have an installer. * unquote None * Test None values aren't saved in config file.
This commit is contained in:
@@ -170,8 +170,8 @@ noninstaller_plugins = ["webroot", "manual", "standalone", "dns-cloudflare", "dn
|
||||
|
||||
def record_chosen_plugins(config, plugins, auth, inst):
|
||||
"Update the config entries to reflect the plugins we actually selected."
|
||||
config.authenticator = plugins.find_init(auth).name if auth else "None"
|
||||
config.installer = plugins.find_init(inst).name if inst else "None"
|
||||
config.authenticator = plugins.find_init(auth).name if auth else None
|
||||
config.installer = plugins.find_init(inst).name if inst else None
|
||||
logger.info("Plugins selected: Authenticator %s, Installer %s",
|
||||
config.authenticator, config.installer)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user