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

feature #3532: fix bug with ruby 1.8

This commit is contained in:
Javi Fontan 2015-03-23 12:50:29 +01:00
parent 21bee73dc3
commit 6d747c7aac

View File

@ -340,10 +340,10 @@ module KVM
"/domain/devices/interface[@type='bridge']") do |i|
mac = REXML::XPath.first(i, '//interface/mac').
attributes['address']
bridge = REXML::XPath.first(i, '//interface/source')
.attributes['bridge']
model = REXML::XPath.first(i, '//interface/model')
.attributes['type']
bridge = REXML::XPath.first(i, '//interface/source').
attributes['bridge']
model = REXML::XPath.first(i, '//interface/model').
attributes['type']
interfaces << {
:mac => mac,