lib/fog/ibm/requests/compute/get_image_agreement.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method get_image_agreement has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def get_image_agreement(image_id)
          response = Excon::Response.new
          response.status = 200
          response.body = {"text"=>
              "test, operating system is SUSE Linux Enterprise Server/11 SP1 - English\n\nYour access to and use of the Service, including all selected options, are governed by the terms of the Agreement signed between your Enterprise and IBM.  Each Service is also governed by one or more Attachments (including, for example, Image Terms Attachments).  Applicable Attachments are part of the Agreement between you and IBM and include Attachments for Services you acquire after the Agreement was signed.  The Agreement also references applicable IBM and third party end user license agreements that govern the use of IBM software and operating system software provided as part of an Image.\n\nYou are responsible for complying with the terms of the Agreement (including applicable Attachments) and applicable license agreements. You may review the terms for the Service by 1) obtaining information regarding the Agreement from your Account Administrator and 2) accessing the Asset Catalog to review specific Image Terms and end user license agreements for IBM and third party software provided as part of an Image.  ",
Severity: Minor
Found in lib/fog/ibm/requests/compute/get_image_agreement.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status