mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
replace redundant to_native()/to_text() occurrences, batch 8 (#11143)
* replace redundant to_native()/to_text() occurrences, batch 8 * add changelog frag * Update plugins/modules/jira.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -290,7 +290,7 @@ def main():
|
||||
elif category == "Chassis":
|
||||
result = rf_utils._find_chassis_resource()
|
||||
if result["ret"] is False:
|
||||
module.fail_json(msg=to_native(result["msg"]))
|
||||
module.fail_json(msg=result["msg"])
|
||||
|
||||
led_commands = ["IndicatorLedOn", "IndicatorLedOff"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user