fixing custom ip resolver

This commit is contained in:
Lukasz Jastrzebski 2013-12-15 14:01:08 -08:00
parent cb832156f3
commit 3f8e617ba7
1 changed files with 2 additions and 2 deletions

View File

@ -107,9 +107,9 @@ module VagrantPlugins
next if ip next if ip
end end
end end
end
ip || (machine.ssh_info ? machine.ssh_info[:host] : nil) ip || (machine.ssh_info ? machine.ssh_info[:host] : nil)
end end
end
def get_machines def get_machines
if @global_env.config_global.hostmanager.include_offline? if @global_env.config_global.hostmanager.include_offline?