ManageIQ/manageiq-providers-openstack

View on GitHub
app/models/manageiq/providers/openstack/inventory/persister/definitions/cloud_collections.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Use collect { |x| x.manager_uuids.to_a } instead of collect method chain.
Open

          manager_uuids = inventory_collection.parent_inventory_collections.collect(&:manager_uuids).map(&:to_a).flatten

Use collect { |x| x.manager_uuids.to_a } instead of collect method chain.
Open

          manager_uuids = inventory_collection.parent_inventory_collections.collect(&:manager_uuids).map(&:to_a).flatten

There are no issues that match your filters.

Category
Status