fog/fog-openstack

View on GitHub
lib/fog/openstack/compute/requests/get_hypervisor.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method get_hypervisor has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def get_hypervisor(hypervisor_id)
          response = Excon::Response.new
          response.status = 200
          response.body = {
            "hypervisor" => {
Severity: Minor
Found in lib/fog/openstack/compute/requests/get_hypervisor.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status