1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-03 13:47:01 +03:00

F #3112: Bug fixed (#3318)

This commit is contained in:
sergiojvg 2019-05-08 11:59:39 -05:00 committed by Ruben S. Montero
parent 2a5f009fb9
commit c129976625

View File

@ -388,7 +388,7 @@ class Template
last_id
end
def find_ips_in_network(network, vm_object)
def find_ips_in_network(network, vm_object, nic)
ipv4 = ipv6 = ""
if vm?
return if !vm_object.is_a?(VCenterDriver::VirtualMachine)