lib/fog/azurerm/models/network/load_balancer.rb in fog-azure-rm-0.0.2 vs lib/fog/azurerm/models/network/load_balancer.rb in fog-azure-rm-0.0.3

- old
+ new

@@ -208,11 +208,11 @@ def validate_frontend_ip_configurations(frontend_ip_configurations) if frontend_ip_configurations.is_a?(Array) if frontend_ip_configurations.any? frontend_ip_configurations.each do |frontend_ip_configuration| - if fic.is_a?(Hash) - validate_frontend_ip_configuration_params(fic) + if frontend_ip_configuration.is_a?(Hash) + validate_frontend_ip_configuration_params(frontend_ip_configuration) else raise(ArgumentError, ':frontend_ip_configurations must be an Array of Hashes') end end else