lib/terraforming/resource/network_interface.rb in terraforming-0.9.1 vs lib/terraforming/resource/network_interface.rb in terraforming-0.10.0

- old
+ new

@@ -47,11 +47,11 @@ def attachment_of(network_interface) network_interface.attachment end def private_ips_of(network_interface) - network_interface.private_ip_addresses.map{|addr| addr.private_ip_address } + network_interface.private_ip_addresses.map { |addr| addr.private_ip_address } end def security_groups_of(network_interface) network_interface.groups.map { |group| group.group_id } end @@ -59,11 +59,10 @@ def module_name_of(network_interface) network_interface.network_interface_id end def network_interfaces - @client.describe_network_interfaces.network_interfaces + @client.describe_network_interfaces.map(&:network_interfaces).flatten end - end end end