mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
Lexicon v3 compatibility (#6474)
* Propagate correctly domain to lexicon providers * Pass required parameter to ovh provider * Fix all other lexicon-based dns plugins
This commit is contained in:
committed by
Brad Warren
parent
9403c1641d
commit
bc7763dd0f
@@ -68,7 +68,12 @@ class LexiconClient(object):
|
||||
|
||||
for domain_name in domain_name_guesses:
|
||||
try:
|
||||
self.provider.options['domain'] = domain_name
|
||||
if hasattr(self.provider, 'options'):
|
||||
# For Lexicon 2.x
|
||||
self.provider.options['domain'] = domain_name
|
||||
else:
|
||||
# For Lexicon 3.x
|
||||
self.provider.domain = domain_name
|
||||
|
||||
self.provider.authenticate()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user