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:
Jose Delarosa 2019-04-01 12:11:04 -05:00 committed by John R Barker
commit 7ddddeb801
2 changed files with 13 additions and 11 deletions

View file

@ -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()