Skip to content

Commit 79f951f

Browse files
authored
Merge pull request #603 from stackhpc/upstream/2025.1-2026-08-10
Synchronise 2025.1 with upstream
2 parents 5120144 + bcd6507 commit 79f951f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

ansible/roles/ironic-inspector-rules/library/os_ironic_inspector_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def _ensure_rule_present(module, client):
8484
if not response.ok:
8585
if response.status_code != 404:
8686
module.fail_json(msg="Failed retrieving Inspector rule %s: %s"
87-
% (module.params['uuid'], repr(e)))
87+
% (module.params['uuid'], response.text))
8888
else:
8989
rule = response.json()
9090
# Check whether the rule differs from the request.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes displaying the error when a failure to retrieve an inspection rule
5+
occurs. `LP#2162058 <https://bugs.launchpad.net/kayobe/+bug/2162058>`__

0 commit comments

Comments
 (0)