fog/fog-openstack

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

Summary

Maintainability
A
1 hr
Test Coverage

Method boot_from_snapshot has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def boot_from_snapshot(name, image_ref, flavor_ref, options = {})
          data = {
            'server' => {
              'flavorRef' => flavor_ref,
              'imageRef'  => image_ref,
Severity: Minor
Found in lib/fog/openstack/compute/requests/boot_from_snapshot.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status