Ensuring that certificates returned from digicert are in the proper format (#564)

This commit is contained in:
kevgliss
2016-12-06 12:05:18 -08:00
committed by GitHub
parent 81272a2f7a
commit e94cf6ddc9
6 changed files with 16 additions and 17 deletions

View File

@ -118,7 +118,6 @@ def sync_endpoints(source):
certificate = endpoint.pop('certificate', None)
if certificate_name:
current_app.logger.debug(certificate_name)
cert = cert_service.get_by_name(certificate_name)
elif certificate:
@ -206,7 +205,6 @@ def clean(source):
return
for certificate in certificates:
current_app.logger.debug(certificate)
cert = cert_service.get_by_name(certificate)
if cert: