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

This commit is contained in:
Jaime Melis committed 2014-02-05 14:55:47 +01:00
1 parent 47ae6cea4c
commit e41e5bb88c
1 file changed
+2
@@ -25,7 +25,9 @@ class OpenNebulaHM < OpenNebulaNetwork
super(vm,XPATH_FILTER,deploy_id,hypervisor)
@locking = false
lock
@bridges = get_interfaces
unlock
end
def activate