fog/fog-openstack

View on GitHub
lib/fog/openstack/image/v1/requests/create_image.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method create_image has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

          def create_image(attributes)
            data = {
              'Content-Type'                  => 'application/octet-stream',
              'x-image-meta-name'             => attributes[:name],
              'x-image-meta-disk-format'      => attributes[:disk_format],
Severity: Minor
Found in lib/fog/openstack/image/v1/requests/create_image.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status