ManageIQ/manageiq-smartstate

View on GitHub
lib/OpenStackExtract/MiqOpenStackVm/MiqOpenStackCommon.rb

Summary

Maintainability
A
1 hr
Test Coverage
F
10%

Method get_image_file_glance_v1 has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def get_image_file_glance_v1(image_id)
    log_prefix = "#{self.class.name}##{__method__}"

    image = image_service.get_image(image_id)
    raise "Image #{image_id} not found" unless image
Severity: Minor
Found in lib/OpenStackExtract/MiqOpenStackVm/MiqOpenStackCommon.rb - About 1 hr to fix

There are no issues that match your filters.

Category
Status