mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00: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:
committed by
John R Barker
parent
aa2427573b
commit
7ddddeb801
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user