fog/fog-azure-rm

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

Summary

Maintainability
A
45 mins
Test Coverage
F
32%

Method attach_route_table_to_subnet has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

        def attach_route_table_to_subnet(resource_group, subnet_name, virtual_network_name, address_prefix, network_security_group_id, route_table_id)
Severity: Minor
Found in lib/fog/azurerm/requests/network/attach_route_table_to_subnet.rb - About 45 mins to fix

    Interpolation in single quoted string detected. Use double quoted strings if you need interpolation.
    Open

              Fog::Logger.debug 'Route Table attached to Subnet #{subnet_name} successfully.'

    This cop checks for interpolation in a single quoted string.

    Example:

    # bad
    
    foo = 'something with #{interpolation} inside'

    Example:

    # good
    
    foo = "something with #{interpolation} inside"

    There are no issues that match your filters.

    Category
    Status