lib/fog/azurerm/requests/network/attach_route_table_to_subnet.rb
Method attach_route_table_to_subnet
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def attach_route_table_to_subnet(resource_group, subnet_name, virtual_network_name, address_prefix, network_security_group_id, route_table_id)
Interpolation in single quoted string detected. Use double quoted strings if you need interpolation. Open
Open
Fog::Logger.debug 'Route Table attached to Subnet #{subnet_name} successfully.'
- Read upRead up
- Exclude checks
This cop checks for interpolation in a single quoted string.
Example:
# bad
foo = 'something with #{interpolation} inside'
Example:
# good
foo = "something with #{interpolation} inside"