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)
|
create_immediately = issuer_options.get('create_immediately', False)
|
||||||
acme_client, registration = self.acme.setup_acme_client(authority)
|
acme_client, registration = self.acme.setup_acme_client(authority)
|
||||||
dns_provider = issuer_options.get('dns_provider', {})
|
dns_provider = issuer_options.get('dns_provider', {})
|
||||||
# TODO: IF NOT DNS PROVIDER, AUTODISCOVER
|
|
||||||
if dns_provider:
|
if dns_provider:
|
||||||
dns_provider_options = dns_provider.options
|
dns_provider_options = dns_provider.options
|
||||||
credentials = json.loads(dns_provider.credentials)
|
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()
|
items = model.query.filter(getattr(model, attr).in_(values)).all()
|
||||||
found = [getattr(i, attr) for i in items]
|
found = [getattr(i, attr) for i in items]
|
||||||
diff = set(values).symmetric_difference(set(found))
|
diff = set(values).symmetric_difference(set(found))
|
||||||
AssociatedDnsProviderSchema
|
|
||||||
if diff:
|
if diff:
|
||||||
raise ValidationError('Unable to locate {model} with {attr} {diff}'.format(
|
raise ValidationError('Unable to locate {model} with {attr} {diff}'.format(
|
||||||
model=model,
|
model=model,
|
||||||
|
|
Loading…
Reference in New Issue