Merge pull request #1661 from gesquive/cfssl_error_msg

cfssl plugin error message typo
This commit is contained in:
Curtis 2018-09-05 14:49:30 -07:00 committed by GitHub
commit 0ab0caa375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class CfsslIssuerPlugin(IssuerPlugin):
if response.status_code > 399: if response.status_code > 399:
metrics.send('cfssl_create_certificate_failure', 'counter', 1) metrics.send('cfssl_create_certificate_failure', 'counter', 1)
raise Exception( 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')) response_json = json.loads(response.content.decode('utf_8'))
cert = response_json['result']['certificate'] cert = response_json['result']['certificate']
parsed_cert = parse_certificate(cert) parsed_cert = parse_certificate(cert)