diff --git a/lemur/plugins/lemur_acme/plugin.py b/lemur/plugins/lemur_acme/plugin.py index 508b683a..827cf0a3 100644 --- a/lemur/plugins/lemur_acme/plugin.py +++ b/lemur/plugins/lemur_acme/plugin.py @@ -811,8 +811,6 @@ class ACMEHttpIssuerPlugin(IssuerPlugin): author = "Netflix" author_url = "https://github.com/netflix/lemur.git" - destination_list = [] - options = [ { "name": "acme_url", @@ -852,13 +850,6 @@ class ACMEHttpIssuerPlugin(IssuerPlugin): def __init__(self, *args, **kwargs): super(ACMEHttpIssuerPlugin, self).__init__(*args, **kwargs) - if len(self.destination_list) == 0: - destinations = destination_service.get_all() - for destination in destinations: - # we only want to use sftp destinations here - if destination.plugin_name == "sftp-destination": - self.destination_list.append(destination.label) - def create_certificate(self, csr, issuer_options): """ Creates an ACME certificate using the HTTP-01 challenge.