fog/fog-azure-rm

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

Summary

Maintainability
B
5 hrs
Test Coverage
F
43%

Method get_network_security_group has 137 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def get_network_security_group(resource_group_name, security_group_name)
          network_security_group = {
            'id' => "/subscriptions/########-####-####-####-############/resourceGroups/#{resource_group_name}/providers/Microsoft.Network/networkSecurityGroups/#{security_group_name}",
            'name' => security_group_name,
            'type' => 'Microsoft.Network/networkSecurityGroups',
Severity: Major
Found in lib/fog/azurerm/requests/network/get_network_security_group.rb - About 5 hrs to fix

    Carriage return character detected.
    Open

    module Fog
      module Network

    There are no issues that match your filters.

    Category
    Status