1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00

Bug #2573: get_bridges function in the networking drivers should be run with a lock

This commit is contained in:
Jaime Melis 2014-02-05 14:55:47 +01:00
parent 47ae6cea4c
commit e41e5bb88c

View File

@ -25,7 +25,9 @@ class OpenNebulaHM < OpenNebulaNetwork
super(vm,XPATH_FILTER,deploy_id,hypervisor)
@locking = false
lock
@bridges = get_interfaces
unlock
end
def activate