mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-14 20:07:38 +00:00
redfish_config: fix `KeyError: 'ret'` when `SetManagerNic` cannot find a matching NIC (#12124)
* fix(redfish_config): return proper error dict when manager NIC not found
get_manager_ethernet_uri() returned an empty dict {} when no matching NIC
was found, causing a KeyError on 'ret' in main(). Now returns a consistent
{"ret": False, "msg": ...} like all other error paths in the function.
Fixes #5892
* feat(changelog): add fragment for PR 12124
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| .keep | ||
| 12.6.2.yml | ||
| 11588-nmcli-bond-arp-diff.yml | ||
| 12106-fix-lxc-create_script.yml | ||
| 12113-unixy-delegated-host.yml | ||
| 12121-parted-suse-msdos-type-code.yml | ||
| 12123-htpasswd-crypt-schemes.yml | ||
| 12124-redfish-setmanagernic-keyerror.yml | ||
| 12137-pamd-authselect.yml | ||
| composer-working-dir-and-config-sha256.yaml | ||
| portage-depclean-fail_json-msg.yml | ||