1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

M #-: fix typo in no_vlan (#1110)

(cherry picked from commit f000ecb61606374c75c1e30617b76af6edf98a22)
This commit is contained in:
Alejandro Huertas Herrero 2021-04-15 15:45:36 +02:00 committed by Ruben S. Montero
parent 763dc43c58
commit ab78822759
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -39,7 +39,7 @@ module VNMMAD
create_bridge(@nic)
# Return if vlan device is already in the bridge.
next if !@nic[:phydev] || @bridges[@nic[:bridge]].include? @nic[:phydev]
next if !@nic[:phydev] || @bridges[@nic[:bridge]].include?(@nic[:phydev])
# Add phydev device to the bridge.
OpenNebula.exec_and_log("#{command(:ip)} link set " \