manageiq
manageiq copied to clipboard
[Providers] Replace `InventoryRefresh::InventoryCollection#find` with `#lazy_find`
The #find
method introduces a dependency ordering issue during full refresh and a potential missing data issue during targeted refresh and should be replaced by #lazy_find
wherever possible.
This method will be removed in an upcoming release of the inventory_refresh gem
changes in inventory_refresh: https://github.com/ManageIQ/inventory_refresh/pull/112
- [x] https://github.com/ManageIQ/manageiq-providers-azure/pull/516
- [x] https://github.com/ManageIQ/manageiq-providers-ibm_cloud/pull/413
- [x] https://github.com/ManageIQ/manageiq-providers-scvmm/pull/208
- [x] https://github.com/ManageIQ/manageiq-providers-ovirt/pull/612
- [x] https://github.com/ManageIQ/manageiq-providers-openshift/pull/229
- [x] https://github.com/ManageIQ/manageiq-providers-kubernetes/pull/469