app/services/ems_storage_dashboard_service.rb
Method attributes_data
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def attributes_data
attributes = if @ems.supports?(:block_storage)
%i[physical_storages storage_resources cloud_volumes cloud_volume_snapshots volume_mappings host_initiators host_initiator_groups storage_services]
else
%i[cloud_object_store_containers cloud_object_store_objects]
- Create a ticketCreate a ticket