mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-01 05:47:01 +03:00
M #-: Fix update operation for fw driver
This commit is contained in:
parent
2bda3d2c81
commit
db181046ed
@ -120,7 +120,7 @@ module VNMMAD
|
||||
@nic = nic
|
||||
|
||||
next unless Integer(@nic[:network_id]) == vnet_id
|
||||
next unless @bridges[@nic[:bridge]].include? @nic[:phydev]
|
||||
next if @bridges[@nic[:bridge]].include? @nic[:phydev]
|
||||
|
||||
# Del old phydev device from the bridge.
|
||||
OpenNebula.exec_and_log("#{command(:ip)} link set " \
|
||||
@ -132,7 +132,7 @@ module VNMMAD
|
||||
|
||||
return 0
|
||||
end
|
||||
rescue Exception => e
|
||||
rescue StandardException => e
|
||||
raise e
|
||||
ensure
|
||||
unlock
|
||||
|
Loading…
x
Reference in New Issue
Block a user