lib/fog/azurerm/requests/network/attach_network_security_group_to_subnet.rb
Method attach_network_security_group_to_subnet
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def attach_network_security_group_to_subnet(resource_group, subnet_name, virtual_network_name, address_prefix, route_table_id, network_security_group_id)
Interpolation in single quoted string detected. Use double quoted strings if you need interpolation. Open
Open
Fog::Logger.debug 'Network Security Group 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"