fog/fog-azure-rm

View on GitHub
lib/fog/azurerm/requests/network/list_subnets.rb

Summary

Maintainability
A
1 hr
Test Coverage
F
46%

Method list_subnets has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def list_subnets(resource_group, virtual_network_name)
          subnet = {
            'value' => [
              {
                'id' => "/subscriptions/########-####-####-####-############/resourceGroups/#{resource_group}/providers/Microsoft.Network/virtualNetworks/#{virtual_network_name}/subnets/subnet_0_testVnet",
Severity: Minor
Found in lib/fog/azurerm/requests/network/list_subnets.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status