Skip to content

Commit

Permalink
Merge branch 'fix-discovery-34' of github.com:tribe29/ansible-collect…
Browse files Browse the repository at this point in the history
…ion-tribe29.checkmk into fix-discovery-34
  • Loading branch information
lgetwan committed May 11, 2022
2 parents 99439bf + 971a210 commit e371b6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/modules/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def run_module():
if http_code in http_code_mapping.keys():
changed, failed, msg = http_code_mapping[http_code]
else:
http_body = json.loads(info["body"])["detail"]
changed, failed, msg = (False, True, "Error calling API.")

if failed:
Expand Down

0 comments on commit e371b6f

Please sign in to comment.