From 6c1be02bfa60683a9e183603c56527241e196025 Mon Sep 17 00:00:00 2001 From: Mathias Petermann Date: Tue, 13 Oct 2020 09:01:01 +0200 Subject: [PATCH] Remove destination_list from AcmeHttpIssuer --- lemur/plugins/lemur_acme/plugin.py | 9 --------- 1 file changed, 9 deletions(-) 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.