Skip to content

Commit

Permalink
acme_challenge_cert_helper: fix bad module.fail_json() call (#51795)
Browse files Browse the repository at this point in the history
* Fix bad module.fail_json() call.

* Add changelog.
  • Loading branch information
felixfontein authored and jborean93 committed Feb 6, 2019
1 parent 146a89b commit c9b08db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- "acme_challenge_cert_helper - the module no longer crashes when the required ``cryptography`` library cannot be found."
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def main():
),
)
if not HAS_CRYPTOGRAPHY:
module.fail(msg='cryptography >= 1.3 is required for this module.')
module.fail_json(msg='cryptography >= 1.3 is required for this module.')

try:
# Get parameters
Expand Down

0 comments on commit c9b08db

Please sign in to comment.