simplify as preferred

This commit is contained in:
Jim Minter 2016-03-07 14:19:03 +00:00
parent 2fc38f6067
commit b6fa93e643

View File

@ -65,8 +65,7 @@ module VagrantPlugins
result << data if type == :stdout
end
ips = result.chomp.split("\n")
ips = ips.uniq
ips = result.chomp.split("\n").uniq
@logger.info("guest IPs: #{ips.join(', ')}")
ips.each do |ip|
next if ip == ssh_host