typo fix
This commit is contained in:
parent
bb026b8b59
commit
5829794d82
|
@ -468,7 +468,7 @@ class ACMEIssuerPlugin(IssuerPlugin):
|
|||
create_immediately = issuer_options.get('create_immediately', False)
|
||||
acme_client, registration = self.acme.setup_acme_client(authority)
|
||||
dns_provider = issuer_options.get('dns_provider', {})
|
||||
# TODO: IF NOT DNS PROVIDER, AUTODISCOVER
|
||||
|
||||
if dns_provider:
|
||||
dns_provider_options = dns_provider.options
|
||||
credentials = json.loads(dns_provider.credentials)
|
||||
|
|
|
@ -78,7 +78,7 @@ def fetch_objects(model, data, many=False):
|
|||
items = model.query.filter(getattr(model, attr).in_(values)).all()
|
||||
found = [getattr(i, attr) for i in items]
|
||||
diff = set(values).symmetric_difference(set(found))
|
||||
AssociatedDnsProviderSchema
|
||||
|
||||
if diff:
|
||||
raise ValidationError('Unable to locate {model} with {attr} {diff}'.format(
|
||||
model=model,
|
||||
|
|
Loading…
Reference in New Issue