fix error message typo

This commit is contained in:
Gus Esquivel 2018-09-04 10:21:34 -05:00
parent b3c4324728
commit 82e69db0c5

View File

@ -52,7 +52,7 @@ class CfsslIssuerPlugin(IssuerPlugin):
if response.status_code > 399:
metrics.send('cfssl_create_certificate_failure', 'counter', 1)
raise Exception(
"Error revoking cert. Please check your CFSSL API server")
"Error creating cert. Please check your CFSSL API server")
response_json = json.loads(response.content.decode('utf_8'))
cert = response_json['result']['certificate']
parsed_cert = parse_certificate(cert)