1
0
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:
Ruben S. Montero 2022-11-23 14:11:30 +01:00
parent 2bda3d2c81
commit db181046ed
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -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