mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Fix error with get_manager_nic_inventory method (#54553)
* Fix error with get_manager_nic_inventory function - Function was not updated when code to handle multiple systems was added * More elegant way to put self.manager_uri in a list
This commit is contained in:
parent
aa2427573b
commit
7ddddeb801
2 changed files with 13 additions and 11 deletions
|
@ -289,7 +289,7 @@ def main():
|
|||
|
||||
for command in command_list:
|
||||
if command == "GetManagerNicInventory":
|
||||
result["manager_nics"] = rf_utils.get_multi_nic_inventory(resource_type=category)
|
||||
result["manager_nics"] = rf_utils.get_multi_nic_inventory(category)
|
||||
elif command == "GetLogs":
|
||||
result["log"] = rf_utils.get_logs()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue