lint cleanup
This commit is contained in:
parent
fb3f0bd72a
commit
b0c8901b0a
|
@ -81,7 +81,6 @@ class VaultSourcePlugin(SourcePlugin):
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def get_certificates(self, options, **kwargs):
|
def get_certificates(self, options, **kwargs):
|
||||||
"""Pull certificates from objects in Hashicorp Vault"""
|
"""Pull certificates from objects in Hashicorp Vault"""
|
||||||
data = []
|
data = []
|
||||||
|
@ -106,7 +105,6 @@ class VaultSourcePlugin(SourcePlugin):
|
||||||
|
|
||||||
secret = get_secret(client, mount, path)
|
secret = get_secret(client, mount, path)
|
||||||
for cname in secret['data']:
|
for cname in secret['data']:
|
||||||
#current_app.logger.info("Certificate Data: {0}".format(secret['data'][cname]))
|
|
||||||
if 'crt' in secret['data'][cname]:
|
if 'crt' in secret['data'][cname]:
|
||||||
cert = secret['data'][cname]['crt'].split(cert_delimiter + '\n')
|
cert = secret['data'][cname]['crt'].split(cert_delimiter + '\n')
|
||||||
elif 'pem' in secret['data'][cname]:
|
elif 'pem' in secret['data'][cname]:
|
||||||
|
@ -214,7 +212,6 @@ class VaultDestinationPlugin(DestinationPlugin):
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(VaultDestinationPlugin, self).__init__(*args, **kwargs)
|
super(VaultDestinationPlugin, self).__init__(*args, **kwargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue